Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

preview


Thumbnail hover popup

This plugin will display a thumbnail’s larger image like a tooltip when you hover over the thumbnail. This can be used for sites whose thumbnails and larger images have almost the exact same filenames except for one piece that changes between the two. An example is thumbnails ending with "_thumb.jpg" and large images ending with "_large.jpg". You provide the plugin the filename flags for each size and then when users hover over a thumbnail the plugin will create a tooltip and load the large image by swapping the size flags.

I originally made the plugin for Greasemonkey so I could preview larger images on certain sites without having to click to the next page. It also works great when implemented directly on a site. Example sites that use this filenaming convention are flickr, vi.sualize.us, and tinypic.

imgPreview

The ‘imgPreview’ plugin allows your users to preview an image before clicking on it and, out of necessity, will preload the image so when a user does click through to it there is no waiting time!

The image preview shows up in a tooltip-like box appearing alongside the user’s cursor when hovering over a link. The plugin is entirely unobtrusive; it does not require any hooks to target specific links (no non-semantic classes); it will automatically detect the anchors that are linking to images and will only apply the preview effect to them.

DOWNLOAD -> PLEASE IGNORE THE RELEASE INFORMATION:
THIS IS THE LATEST VERSION (Minified) : http://plugins.jquery.com/files/imgpreview.min.0.22.jquery.js

DEMO: Various demonstrations of the plugin can be found here: http://james.padolsey.com/demos/imgPreview/full/

NOTE
-----

magicpreview

magicpreview automatically updates selected elements on a page based on form fields. Perfect for previewing forms, writing blog posts and adding comments.

$(form_fields).magicpreview(prefix, options);

To link an element to a form field, you will need the id of the element to be equal to the prefix (see code above) plus the name attribute of the form field.

For example, if your prefix was 'mp_' and the form field was <input type="text" name="hello" />, then the element should be something like <div id="mp_hello"></div>

light-tooltip

Displays simple preview inside page for image thumbnails.
All the credits goes to Alen Grakalic (http://cssglobe.com), i only modified it to add smart positioning.
Tested under Firefox3,Opera9,IE7
Simple usage :

<a href="1.jpg" class="preview"><img src="1s.jpg" alt="gallery thumbnail" /></a>