Moth name search:
UKMoths: your guide to the moths of Great Britain and Ireland

New Thumbnail Format

Sunday, March 7th, 2010

The new thumbnail format

The new thumbnail format

I’ve just finished a revamp of the thumbnail display pages.  The thumbnail images have been bothering me for a while, and because the moth photos themselves come in all shapes and sizes, I’d used a kind of “35 mm slide” background to make them all the same square shape for layout purposes.  This was beginning to look a bit dated, and recently I discovered a neat little utility for creating thumbnails on the fly, TimThumb.

With a bit of tweaking, this now creates thumbnails on the fly for all the different pages that use them, if that thumbnail doesn’t already exist.

The nice thing about TimThumb is that it can crop the original image to the required size and shape, so I can use square thumbnails on the species pages and rectangular ones on the thumbnail view and search pages for example. The new thumbnails as a result are bigger and more useful than the old.

The old style thumbnails

The old style thumbnails

UKMoths is sponsored by Anglian Lepidopterist Supplies and Birdguides.com