ok, I assume, you are looking for something like this:
(OC v.1.5.6.5_rc)
http://www.hitline.info/shop/index.php? ... uct_id=651
then, download this, I checked the OC v.2.0.2.x 'image.php', and it looks the same, I have implemented the code directly onto the image.php, in order to avoid another additional Mod, if it has to 'stay' anyway...

.
Code: Select all
// Image auto size valdeirpsr
if ($width == 'auto'){
$width = $this->info['width'];
}
if ($height == 'auto'){
$height = $this->info['height'];
}
// Image auto size valdeirpsr
$ypos = 0;
$scale = 1;
So, I expect it to work on your Shop as well:
http://www.opencart.com/index.php?route ... n_id=11429
as an "un-philosophical" reply to this!
Ernie
bigmax.ch/os/
Some well done and reliable Mass - IMAGE TOOLS can be found here:
http://forum.opencart.com/viewtopic.php ... 31#p508148
PS. I recalled to see this Mod, in the Extension Section, about a week ago. Good for You!

But, I am not sure, if your image Uploader will NOT automatically shrink images as well, possibly, therefore,
you are well advised to upload all images directly to the server by FTP, to keep them in SHAPE!
ONE MORE HINT:
DELETE ALL OF YOUR IMAGE FILES, placed within the SERVER image/cache Section,
frequently, if you make changes on the images size definitions.
ONCE created Cached images, i.E., sized 500x500px, would stay forever, and possibly never ever used again. But you may end up like I did, when receiving a Complaint from my Hoster, telling me to remove, at LEAST, 100'000 suprlus files, or pay more RENT!!!