Re: Constraining height of product thumbnails
I went the next step and rewrote the image.php (thats the file which determines which image is needed to be display).
instead of just showing the image, I use GD (a php module) to redraw the image so it fits within a certain size, so I can specify this in the actual template e.g. ?width=75 also it makes the thumbnail less jaggy.
The coding is a bit messy but works so I can help you with getting a similar thing working but I wouldn't want to give you my actual coding cause it probrably wouldn't mean anything to you.
Also cause all images are getting re-processed when the page is loaded, you need a good server to do it, unless you will get server lag. Carlisle Glass has a dedicated server so this isn't a issue.
|