Kryptronic Software Support Forum

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.

#1 12-11-2005 11:56:39

Rickshaw Driver
Member
Registered: 12-02-2005
Posts: 77

Image Height Hack/plug-in?

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

 

#2 12-11-2005 12:17:12

Ed_H
Member
From: Smashachusetts
Registered: 09-12-2003
Posts: 397
Website

Re: Image Height Hack/plug-in?

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

 

#3 12-11-2005 14:23:21

Rickshaw Driver
Member
Registered: 12-02-2005
Posts: 77

Re: Image Height Hack/plug-in?

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. smile

Offline

 

Board footer