VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: NeilPeart on September 20, 2012, 22:57:18 PM

Title: scaling images not proportional
Post by: NeilPeart on September 20, 2012, 22:57:18 PM
Hello
my client thinks the product images look funny on the product pages.. and she's right... the scale 357px × 550px (scaled to 150px × 200px) should really be 128x200px - where is this happening? is there a PHP file where this resides? how can I get this fixed?

Thanks
R
Title: Re: scaling images not proportional
Post by: bytelord on September 20, 2012, 23:12:54 PM
Hello,

Funniest thing that you didn't search out to find it :)
So you should go to Configuration -> Templates under media setting you can configure thumbnail image width and height (look the screenshot).
All images that you have already upload are been resized, so you have to delete the old resized files that located under (e.g. for products):
joomla_folder\images\stories\virtuemart\product\resized

Regards

[attachment cleanup by admin]
Title: Re: scaling images not proportional
Post by: NeilPeart on September 20, 2012, 23:56:26 PM
tried that that a few times.. doesnt work - I knwo that is there and even put in the size I wanted - doesnt work anything else?
Title: Re: scaling images not proportional
Post by: bytelord on September 21, 2012, 00:21:24 AM
Hello,

images are been sized dynamically, your client images are not equal to width and height, so is been rightly converted. If you are not satisfied you could use some css to change the images size or place white space to fill out the unnecessary space.

Could you give us a live url to check it?
Title: Re: scaling images not proportional
Post by: NeilPeart on September 21, 2012, 00:28:03 AM
thanks - maybe I should go backward and see what to image is from 128x200  upward....
Title: Re: scaling images not proportional
Post by: bytelord on September 21, 2012, 00:34:26 AM
i think you scaling from 357x550 is 128x197 or 130x200... so is right, are you sure that you have place correctly the width and the height?