arthuro111
Programmer
I am generating an automatic email using CFmail in an app. Part of what I am in putting in there is pictures. I want them to be thumbnails, so I resize them in the img tag, either the vertical or horizontal.
However, here's the problem: I need to be able to do both.
In most email programs (Outlook, Yahoo, etc) when you put in only one of the dimensions, the other one shrinks to match proportionally when you view the email itself.
In Lotus Notes, which is what will have to be used, if you only put in the vertical dimension, the pictures come out stretched all the way across the page. If you only do horizontal, they are super tall.
My temporary solution is to pick a size (175x100 say), but of course the pictures are usually distorted.
Can anyone point me towards something that will detect the size of images from their file? I can then do the calculations to shrink the picture down.
Thanks in advance!!!!!!!!!
However, here's the problem: I need to be able to do both.
In most email programs (Outlook, Yahoo, etc) when you put in only one of the dimensions, the other one shrinks to match proportionally when you view the email itself.
In Lotus Notes, which is what will have to be used, if you only put in the vertical dimension, the pictures come out stretched all the way across the page. If you only do horizontal, they are super tall.
My temporary solution is to pick a size (175x100 say), but of course the pictures are usually distorted.
Can anyone point me towards something that will detect the size of images from their file? I can then do the calculations to shrink the picture down.
Thanks in advance!!!!!!!!!