Forum Moderators: open
What I am trying to do is make it so each table cell (or frame, or CSS, or however I can hack it) is the same dimension, but each picture is resolved to keep its original dimensions within the "cell."
For example: All my "cells" are 100 x 100, so a picture that is 400 x 600 will be resized to 75 x 100, while a picture that is 600 x 400 will be resized to 100 x 75.
I do not know the exact size of each picture - I could find out, but am dealing with a large number of picutres, and am wondering whether there is simple coding to perform this?
Thank you.
much better to use a software package that has a batch process [google.com] feature to change the dimensions.
Yes, you will get batter results for you and the user if use some program that let you resize all those images.
But, if you can't, you can get a great result using php or flash. Are very differente one from another, but both very good for what you want.
I prefer flash for your situation, but it is just an opinion...
Good luck
Bye
1. Windows XP actually has a Power Tool (Power Toy?) that does a reasonable job with jpegs. It will quickly do an entire directory and allow you to adjust the quality settings.
2. Of the three main packages I know - GD, ImageMagick, NetPBM - I would choose either of the last two. GD thumbnail quality is not very good.
3. (bonus thought) I think the GIMP does everything you want as well.
Tom