Welcome To Snipplr


Everyone's Recent Snippets Tagged image



1 ... 6 7 8 9 10 ... 13
Usage: <code> var newDimensions:Object = resize(800,600,320,200); </code> This can be adapted to pretty much any language...
1 1757 posted 16 years ago by kaptnkill
grabs image alt or src and appends it to a title
1 1440 posted 16 years ago by vagrantradio
1 1294 posted 16 years ago by landonmiller
0 2884 posted 16 years ago by mracoker
0 1709 posted 16 years ago by mracoker
You must include these DLL references in your vsweb or vscode project:\r\nPresentationCore,\r\nPresentationFramework,\r\nWindowsBase. \r\nNotice how I am manipulating the RGB values of each pixel, this is the power of these classes. The Drawing class...
0 1590 posted 16 years ago by bryanlyman
0 7220 posted 16 years ago by mracoker
1 1345 posted 16 years ago by mracoker
Use this little bit of CSS to get rid of the active link dotted border in Firefox. A must have when doing the text-indent:-9000px; image replacement technique on links.
0 1682 posted 16 years ago by toddaeverett
It allows you to automatically get the first image from the current post, and display it.
2 5382 posted 16 years ago by math89
1 1382 posted 16 years ago by crs
0 1135 posted 16 years ago by magicrebirth
Since PHP doesn't have a builtin imagecreatefrombmp, this allows users to upload bmp files and you can handle them and create a different image type from it.
0 1521 posted 16 years ago by gms8994
This properly handles transparencies for PNG/GIF.
0 1469 posted 16 years ago by gms8994
If the device is already being used, umonut it.
0 1046 posted 16 years ago by smoover
2 1389 posted 16 years ago by fackz
1 1231 posted 16 years ago by ksantoshp
0 1152 posted 16 years ago by ksantoshp
0 1453 posted 16 years ago by yisreldov
How to dwonload and use a Retro Avatar image in a iPhone App. In this example: uid is a Facebook user id, optionally you can use any string, a name, a md5 hash of a email address and it is assumed you have an image view with tag id 1 you want to set...
1 3811 posted 16 years ago by ollie
Not particularly novel, but quite clean. Allows you to put images in any location on the server and saves having to generate thumbnails at upload time. The URL to this file should be: `<filename.php>/<request>/<path>` Valid request types:...
1 1392 posted 16 years ago by Kit
by m13579m
0 1583 posted 16 years ago by irm
This is handy for cleaning up your HTML to use more plain text and fewer img tags. Whether this is SEO friendly or not is subjective. I tend to think it's fine as long as you don't use it for spam. Digg implements a similar method for their main logo...
1 2153 posted 16 years ago by adamcoulombe
0 1156 posted 16 years ago by zemin
Creating thumbnails of the images is required many a times, this code will be useful to know about the logic of thumbnail generation.
0 1684 posted 16 years ago by paulgrenwood
1 ... 6 7 8 9 10 ... 13