Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXIF thumbnails generation

Status
Not open for further replies.

dbrb2

Instructor
Jul 19, 2004
121
GB
Hi,
Previously when I have needed thumnails of images in an album I have created a thumbs direcotyr and filled it with resized images. I then realised I could use the embedded exif thumnails, and simplify things considerably. But if there is no thumbnail for whatever reason (what reasons might there be? When is this thumnail generated), I can't work out how to create one... any ideas?

Cheers,

Ben
 
Use the GD library to create a resized version of image in question. You'll probably also want to do something to ease the server load if you have to generate alot of thumbs.

So you could try storing the thumbnail the first time it is generated. Then next time that image is required the thumbnail already exists.

--
Tek-Tips Forums is Member Supported. Click Here to donate

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top