Make thumbnail in jQuery

Introduction
Sometimes you are in need to have generated thumbnails on-the-fly. Not like one hundred single files named image_thumb.jpg. By today it exists many methods to perform this. The most used methods to do this is in PHP or any other scripting language like ASP.

jQuery
To this date I haven’t found any good method to make thumbnails in jQuery. On the web I have found a plugin that “simulates” a thumbnail. The plugin is named jQuery Thumbs and functions as dynamic wrapper of the images. The fullsize images are wrapped with CSS-code that crops the images and centers them in the thumbnail. In other words; Lets say you have a 640×480 (px) image, and you want it thumbnailed down to 125×125 (px). jQuery Thumbs then crop the image and you are left with a 125×125 (px) image that is the center of the original image. This is sort of a fake thumbnail since you may not end up with a good results, because it depends on having your original image centered.

jQuery Thumbs
This is how jQuery Thumbs works (Taken from jQuery Thumbs webpage)

I’m currently working on a plugin for jQuery that is combined with PHP. It will let you generate thumbnails on-the-fly from a unsorted list of images.

Bad traffic quality from entrecard

*Update*

Thanks for all the comments! Many interesting views have appeared. Read trough the comments if you are interested in entrecard. Anyway, the winner is: Mark Fulton. Congratulations! He will receive 1050 entrecard credits!

The other contenders was:

Thanks to all.

The conclusion: I will still continue to use entrecard :)

(more…)

Comparison and test of jQuery web gallery scripts

Introduction

jQuery really simplifies and makes magic of web galleries. Since there are many galleries out there, I will try to map your needs when choosing your next gallery script. Anyway, the contenders are:

  1. jQGallScroll 2.0 and jQGallView/jQGallViewII/jQGallViewIII.
  2. jQuery slideViewer 1.1.
  3. Lightbox
  4. EOGallery
  5. NextGEN Gallery.

(more…)