This addon will automatically take a full-sized photograph and resize it to your desired width while maintaining a perfect aspect ratio.
2.08 SE (01/05/08):
$cfgrowvariable for greater compatibility across server installs (Version number unchanged).
2.08 SE (01/02/08):
2.03 Beta (No longer available for download)
It's really good, awesome except for the problem with EasyMap Add-on. Once the photo gets resized easymap is not able to pick out the geotagged information.
The addon is great, but I would like one more feature. Most computer screens, if not all of them, are wider than higher. I think it would be a very cool feature would be to distinguish between maxsize width and maxsize height.
For example, let's say my "Maximum image size:" is 600px because I design for 1024x768px. For a 1000x2000px image the auto setting is ok and would produce a 300x600px image. However, for a 2000x500px panorama, I do not want it to be 600x150px but something like 900x225px. As wide screen are becoming popular this is an even more important point.
This is the code needed for this new feature:
if($maxsize_w/$maxsize_h < $src_w/$src_h)
$dst_w = $maxsize_w;
$ratio = $src_w/$dst_w;
$dst_h = $src_h/$ratio;
$dst_h = $maxsize_h;
$ratio = $src_h/$dst_h;
$dst_w = $src_w/$ratio;
Yes an essential addon for me. Great work!! I really love it paired up with the lightbox mod from this thread