You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Is there a plug-in, hack or change that will allow the height of the image to be used instead of the width? I want the same functionality it has now, I just want it to use the height instead of the width for the scaling.
Offline
The easiest way to accomplish this would be, using the product detail image as an example, would be to change in ste_prod.pl:
width=\"$store_large_image_width\"
to:
height=\"$store_large_image_width\"
and set Global Settings > Manage Image Size Settings > Product Detail Image Width (px) * to the height you want instead of width.
Kind of a "dirty" solution, but should work.
It's a good idea to document modifications - like this - you've made or you (or someone else) might be driven crazy later on!
Offline
Perfect Ed, thanks. I am going to try and modify the control panel to show "Max Image Height" instead of width so it doesn't drive us crazy later.
Offline