Welcome To Snipplr


Everyone's Recent Snippets Tagged image



3 1228 posted 15 years ago by jamesming
Use this to extract an image embedded as a resource in your project. Call the function supplying the full path to the resource, for example: Dim myImage as Bitmap = EmbeddedIcon("MyApplication1.myImage.png") Where "MyApplication1" is the root n...
0 710 posted 15 years ago by chavcho
1 619 posted 15 years ago by dsntos
Simple imagefader to rotate around a few images. Seem to be doing this a lot in various projects so decided to put something a bit more generic together. Uses jQuery. Images named as car1.jpg, car2.jpg, car3..... etc.
3 833 posted 15 years ago by 1man
* Resized images are generated into TARGET_DIR. * Change the resolution (800x800 in my example) and quality (80) as you want. * The command keeps the image's proportion. 1600x1200 will be converted into 800x600, 1200x1600 into 600x800. _Notice_:...
2 830 posted 15 years ago by Dorgendubal
Outputs an image path from a defined directory.
2 763 posted 15 years ago by dsntos
[Video Example](http://screencast.com/t/L6E0xI0J5P) A cross browser image caption on mouseover. Using jquery, CSS. This is a bit crude but pretty simple to implement. Just change the image width, some css to match that image size and create dyn...
4 898 posted 15 years ago by jadedbat
-s 86x60 Defines the dimension of the thumbnail -ss 4 Generate a thumbnail from position 00:00:04 (4 seconds)
0 539 posted 15 years ago by smoover
The attached article is also actually very funny.
0 576 posted 15 years ago by monkey103
You will probably have to hide the medium sized image.
2 694 posted 15 years ago by kristarella
<p>How to use: HTML: &lt;img id="image" src="image.png" alt=""/></p> <p>JavaScript: add_reflection (document.getElementById ( 'image'), 1, 1, 0.1, 0); </p> <p>As a result, the script wrap image in the div, ask him to the desired height and...
2 724 posted 15 years ago by Jman
This will create a bulleted list using images as the bullets.
2 646 posted 15 years ago by cbx
Forces a user to download a file, for e.g you have an image but you want the user to download it instead of displaying it in his browser.
0 544 posted 15 years ago by fruehjahr
In original Shea Enhancement, image had higher z-index than drop-down menu items. Changing z-index of entire H1 made text appear above image in some browsers. Could not change z-index of menu items. Added an extra span tag and two classes to the m...
0 671 posted 15 years ago by skylenewman
0 521 posted 15 years ago by roock
0 657 posted 15 years ago by roock
To use the resize function you must pass in the forced width, forced height, source image, and destination image. The function then uses the GD2 library functions to read the source image's size. It will then calculate the new image's size based off...
3 767 posted 15 years ago by Jenhale
it needs the GD2 library
5 714 posted 15 years ago by iTony
1 626 posted 15 years ago by jessnoonyes
When you run this script you will see the result like this Image width 379 Image height 344 Image type 2 Image attribute width="379" height="344" You will get the width, height, type of an image and also attribute of an image, I use this fun...
3 2390 posted 15 years ago by jamesming
Firefox ignores the alt tag on images and uses the title tag whereas IE uses the alt tag. This javascript code copies the text in all image alts to the image's title. Best when placed at the footer of each page
1 635 posted 15 years ago by ezerick
Usage coming soon.
6 799 posted 15 years ago by mattkenefick