News:

Looking for documentation? Take a look on our wiki

Main Menu

scaling images not proportional

Started by NeilPeart, September 20, 2012, 22:57:18 PM

Previous topic - Next topic

NeilPeart

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

bytelord

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]
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

NeilPeart

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?

bytelord

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?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

NeilPeart

thanks - maybe I should go backward and see what to image is from 128x200  upward....

bytelord

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?
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!