If you already use a jQuery plugin or another type of library to manage your media gallery, the integration with NailThumb is pretty straightforward. Tipically you'll have an html structure similar to this, a link to the full size image, wrapping a thumbnail image. In this case all you need to do is add the class that defines your thumbnail dimension to the link and call NailThumb on it.
In case you don't have thumbnails already and don't want to produce them you can also set to true imageFromWrappingLink option and then you won't even need to have an image inside the link. While this method works, it should be avoided, first because it works only with images, so if your media is a video you won't find any image at that url, but most importantly because if your images are heavy some browser will become really unresponsive, even with all animations turned off. This is surely the case with Chrome. So if you don't want to produce thumbnails keep in mind that it isn't a browser friendly solution and at least keep the number of images per page as low as possible. In the two examples below there's still a link as container with no images and imageCustomFinder is used to append the smaller version of the image transforming the href of the full image.
YoxView is a powerfull and easy to use jQuery plugin. Follow this link for full reference. view code
If you already use a jQuery plugin or another type of library to manage your media gallery, the integration with NailThumb is pretty straightforward. Tipically you'll have an html structure similar to this, a link to the full size image, wrapping a thumbnail image. In this case all you need to do is add the class that defines your thumbnail dimension to the link and call NailThumb on it.
In case you don't have thumbnails already and don't want to produce them you can also set to true imageFromWrappingLink option and then you won't even need to have an image inside the link. While this method works, it should be avoided, first because it works only with images, so if your media is a video you won't find any image at that url, but most importantly because if your images are heavy some browser will become really unresponsive, even with all animations turned off. This is surely the case with Chrome. So if you don't want to produce thumbnails keep in mind that it isn't a browser friendly solution and at least keep the number of images per page as low as possible. In the two examples below there's still a link as container with no images and imageCustomFinder is used to append the smaller version of the image transforming the href of the full image.
ShadowBox is js library very easy to use and compact. My personal favourite for display effects view code
If you need to manage avatars in your application this plugin can be of great help. You're not forced to limit the shape of the images your user upload, and still you can use that image in different sizes and shape through out your code as it fits your style best. And even if you need to restyle it's still very easy to give a complete preview to your users.