Page 1 of 1

Automatic Image Thumbnails

Posted: Fri Jun 09, 2006 6:17 pm
by FarazYashar
I am quite familiar with how to automatically create image thumbnails yet I want to take it a step further.

I was wondering if any scripts exist to make "smart thumbnails" like those which can be found on flickr?

Even if there do not exist any, can someone explain the fundamentals of how the script would find out what part of the image to clip?

Posted: Sat Jun 10, 2006 2:41 am
by onion2k
Can you explain what a "smart thumbnail" is for those of us who don't use Flickr?

Posted: Sat Jun 10, 2006 7:44 am
by Li0rE
Yes, php has functions to crop and resize an image proportionally.

Posted: Sat Jun 10, 2006 2:07 pm
by FarazYashar
http://flickr.com/

For example here is what it does:

Image

Image


It not only crops and resizes but finds the main part of the image, such as were the central focus is.

How could I use the crop and resize to make this happen?

Posted: Sat Jun 10, 2006 3:13 pm
by onion2k
FarazYashar wrote:It not only crops and resizes but finds the main part of the image, such as were the central focus is.

How could I use the crop and resize to make this happen?
Grab a book on machine vision and write some very, very clever code. Extremely tricky stuff. It'd be well beyond my capabilities.