Welcome To Snipplr


Everyone's Recent Snippets Tagged images



9 2248 posted 16 years ago by shahways
You can use this code in Bash or Windows CMD / Command prompt (although you'll have the change the comment character from # to :: for the windows prompt)
1 2024 posted 16 years ago by webonomic
A simple way to create a double-border effect (i.e. for images) in all browsers.
1 1327 posted 17 years ago by sidisinsane
Remove that pesky dotted border around img elements, especially images inside <a> / link tags.
4 1602 posted 17 years ago by charmcitycoder
0 1418 posted 17 years ago by iTony
1 1128 posted 17 years ago by iTony
Crops and resizes, maintaining perspective, with a white background.
1 1358 posted 17 years ago by DaveChild
Quick and easy way to feed flickr images into your website
2 1452 posted 17 years ago by jessnoonyes
The lazy way to generate XHTML-valid width and height attributes for your images. This is incredibly inefficient, though I believe (ref?) that calls to getimagesize() are cached.
2 1392 posted 17 years ago by AdrianShort
output can be run as a shell script. should be able to refactor this as a piped wget, i think
1 1289 posted 17 years ago by jhenry
I can't remember if this code is updated for IE7, if it is then it should be working in at least IE6-7, Safari 2-3, Opera 8 and Firefox 2-3. Obviously the image_iefix is just for IE6.
2 1495 posted 17 years ago by teddyzetterlund
Wasn't fully tested :) Just for reference...
3 1433 posted 17 years ago by oxisound
Function to retrieve all image files in a given directory
0 1214 posted 17 years ago by coggla
These two functions allow you to remove images from html page. The function returns an array of images with the absolute src and,if there are any, the alt and title attributes. Arguments to pass to get_images() are $file = html source and $url = th...
3 1903 posted 18 years ago by gandalf
A low-tech but useful technique that uses only CSS. After placing the css in your stylesheet, insert this just below the body tag of your page: "". Whenever the images are referenced throughout your pages they will now be loaded from cache.
0 11311 posted 18 years ago by aznprncritic
copy form maxdesign!
2 2618 posted 18 years ago by assbach
Image will be greyscale and will turn colored when hovered over
1 1372 posted 18 years ago by sondosia
Open some internet-page with some pictures on it. Then just paste this text into the address line and press "Enter". Works good only in IE, sometimes in Opera...
0 1051 posted 19 years ago by Memphys
0 1150 posted 19 years ago by whitetiger
0 1333 posted 19 years ago by whitetiger
2 1619 posted 19 years ago by whitetiger
2 1853 posted 19 years ago by whitetiger
0 1037 posted 19 years ago by whitetiger
0 1106 posted 19 years ago by whitetiger
0 1103 posted 19 years ago by whitetiger
0 1234 posted 19 years ago by whitetiger
0 1239 posted 19 years ago by whitetiger
0 1408 posted 19 years ago by whitetiger