Welcome To Snipplr
Everyone's Recent Snippets Tagged image
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Very easy way to preload images which are needed later (e.g. when a hover is performed)
4
1130
posted 14 years ago by iqwebdev
* Creates thumbnail from image
* thumbnail dimensions can be set as parameters
* accepts JPG, JPEG, GIF, PNG
* preserves transparency for GIF and PNG on thumbnails
* call function like this: createthumb(images/original.jpg, thumbs/thumb.j...
3
954
posted 14 years ago by alessio2
When developing a website, an important consideration is accessibility on other media, including the medium of print. However, the printing engines of most browsers render content differently to allow for simple printed pages. One of the most notable...
1
1117
posted 14 years ago by karlhorky
Hey,
I just thought I would share something I made that I tested in IE6, IE8, Firefox 3.6, and Chrome 4. It allows you to resize a client-side image map based on the size of the image, so when your image resizes, your map still works how you want...
0
963
posted 14 years ago by xtknight
You can use this script in your projects when you need an image upload function. It checks file type, file size and error report. I also want you to check [giochi di spongebob](http://www.giochidispongebob.net) and [gratis mahjong](http://www.gratism...
1
979
posted 14 years ago by jackoder
[via rtcrm]
Image/Text replacement for clickable image. This is useful for logo images.
1
902
posted 14 years ago by mennyj
Just set the variable `$email` to the user's email address. Hey presto! A Gravatar image!
You can also change the size by adjusting the `s=32` variable. Size is in pixels.
1
661
posted 14 years ago by JackWH
Loads of code lifted from here :
http://www.tokeru.com/t/bin/view/Maya/MayaPython#ListDir
0
1020
posted 14 years ago by throb
- Fully compatible with all browsers and iPhone/iPad
- Letterboxes vertically oriented images
- Standalone: no library needed, no conflicts needed and speedy
- VERY light weight (under 3KB for uncompressed css and javascript)
- Easy to integrate...
3
1400
posted 14 years ago by kirie
integration of an image/title/description into a snippet using WindowsOnWeb
0
645
posted 15 years ago by windowsonweb
A class for uploading images and creating thumbnails.
Example:
try{
$img = new img('photo');
if($_FILES['photo']['size']>=1000000){
exit('The file size of the file you are trying to upload is over limit.
Your file size = '.$_F...
2
1128
posted 15 years ago by leonelsantos
Static images (without generation) UL/LI list navigation fully manageable via backend
0
1099
posted 15 years ago by z0r1k
Each image button requires two images to represent two states: the off-state and the on-state. In this case, the on-state has "_ovr" appended.
0
980
posted 15 years ago by nijgnet
Currenty getImagInfo() also call getImageXMP() so you only need the first function to get your infos.
0
1173
posted 15 years ago by frankyfish
It was based in Markjnet example here:
>> http://www.markj.net/iphone-asynchronous-table-image/
4
1443
posted 15 years ago by rabc
adapted from:
[http://aktuell.de.selfhtml.org/artikel/javascript/fader-framework/bilderslideshow.htm](http://aktuell.de.selfhtml.org/artikel/javascript/fader-framework/bilderslideshow.htm)
0
904
posted 15 years ago by cfleschhut