Welcome To Snipplr


Everyone's Recent Snippets Tagged image



1 ... 4 5 6 7 8 ... 13
1 1744 posted 15 years ago by geekyjohn
0 1000 posted 15 years ago by dcoulton
This code will retrieve the url of a featured image in order to use it as a background.
0 1489 posted 15 years ago by jli
0 1700 posted 15 years ago by touffies
glider levin method
1 1260 posted 15 years ago by interfacecreation
You can simply put it in your reset stylesheet. It visualizes the classic rotating gif while the document's images are coming from the server at page load.
3 1801 posted 15 years ago by claudiowebdesign
This code war written for a project I'm working on where a map of the world may need to be offset to center the view on specific areas. I'm also using it as a part of an iterative blur function to prevent seams from the blur operation. I would lik...
0 1728 posted 15 years ago by Jamie
Taken from (http://jc-designs.net/blog/2009/08/background-image-on-submit-button-in-ie6/)
1 1951 posted 15 years ago by resting
If the optional parameter $crop is set to TRUE the image will be zoomed and cropped to specific size ($new_size). Else, the image will be resized to size, keeping aspect ratio and using $new_size as max size.
0 1764 posted 15 years ago by stz184
1 2135 posted 15 years ago by rave
A simple script that will add captions to images and allow for easy styling.
1 1354 posted 15 years ago by dom111
I’ve been working on a CMS lately and having to create thumbnails for uploaded images is always a pain, lots of maths working out the correct sizes and such, so I’ve created a fairly small script to manipulate images in an object-oriented style.
0 1394 posted 15 years ago by dom111
It determines background image for the element. If the background color is specified for the element at the same time it will be shown while the background image will have been downloaded fully. The same will happen if the image is inaccessible or th...
0 1443 posted 15 years ago by Masis
1 1385 posted 15 years ago by tennison
This TS creates a title vertically.
0 3304 posted 15 years ago by typo3
0 2632 posted 15 years ago by wireplay
0 1357 posted 15 years ago by ichnoweb
replace the default 'submit' form button with a custom image
1 1407 posted 15 years ago by mumra
The top image cant be a PNG. This is because the code just make the top image disappear and if the PNG has a transparency to it you will be able to see right through it.
1 1696 posted 15 years ago by gera3d
0 1453 posted 15 years ago by thesmu
In the example .description is a label and so needs to be made a block level element. For <p> elements (etc) this is not needed. The key to all this is overflow:hidden.
0 1567 posted 15 years ago by Meander365
1 1365 posted 15 years ago by iamadams
Input: .jpg images of current directory\r\n\r\nOutput: the thumbnails will be generated in \'thumb\' folder
0 1355 posted 15 years ago by abhiomkar
0 3520 posted 15 years ago by almazom
0 1284 posted 15 years ago by almazom
<img>
1 1885 posted 15 years ago by stuntsnippets
1 ... 4 5 6 7 8 ... 13