Image Handling Snippets


22 July, 2013   

It can be useful to be able to resize images using jQuery

In order to add a splash screen to your black berry app, you need to create an XML file, name it "blackberry-tablet.xml" and place it at root level --With your Application descriptor file.

30 January, 2012   

The following code block illustrates the use of TYPE..IS... and VARRAY. In this sample, a type v_arr is defined as an variable array of maximum 25 elements which are of type NUMBER(3). Then a variable v1 is defined as type v_arr . This sample code also demonstrates the use of %TYPE attribute.

13 April, 2014   

CSS code to center image in div with overflow hidden

11 March, 2015   

PHP code shows how to upload images into a mysql database using

CSS code example for Diagonal Graph Paper Gradient

jQuery example code to add image to browser cache

29 January, 2011   

Cufon 101

13 April, 2013   

How to resize an image to fit in a desired space.

11 September, 2014   

Code to display the current time as a .PNG image.

Delphi code example to rotate a TBitmap at any angle

An example code using jQuery Auto Image Scroller

Due to the default Windows handling of the WM_GETMINMAXINFO message, the max size of the form is set to the screen size. Add a button to a form and try this:

16 August, 2011   

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.

10 August, 2011   

An easy way to send an HTML email with an attachment.

28 November, 2011   

An example of scroll box that used to view a image

20 July, 2013   

Source code for Flash XHTML valid

A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.

CSS code example for Clickable Elements a Pointer Cursor

The following are some useful functions to build URLs within a CGI script, for example to send a HTTP redirection header