sulfericacid has asked for the wisdom of the Perl Monks concerning the following question:
Because of the number of servers that have ImageMagick installed is slim, I've taken this out for the time being and doing a fake thumbnail using HTML at 100x100. (bad idea I know, but atleast people can actually import the script on their server now).
Question is, how can I calculate proportions of images so they're not all resized the same and have some get really blurred if it's a small image? All the other galleries have thumbnails of different sizes, not a preset 100x100. I need a method of resizing the thumbnails so the size doesn't distort them too much.
I'm using ImageInfo to display the image dimensions and will use HTML to create the fake thumbnails (or possibly go back to ImageMagick) if it's a must.
Thanks for your help everyone.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Proportionally resizing of images
by valdez (Monsignor) on May 10, 2004 at 16:04 UTC | |
|
Re: Proportionally resizing of images
by Abigail-II (Bishop) on May 10, 2004 at 16:25 UTC | |
|
Re: Proportionally resizing images
by Roy Johnson (Monsignor) on May 10, 2004 at 16:23 UTC | |
by halley (Prior) on May 10, 2004 at 16:37 UTC | |
by merlyn (Sage) on May 10, 2004 at 17:37 UTC | |
by Roy Johnson (Monsignor) on May 10, 2004 at 18:51 UTC | |
|
Re: Proportionally resizing of images
by Anonymous Monk on May 10, 2004 at 19:30 UTC | |
by waswas-fng (Curate) on May 10, 2004 at 20:23 UTC |