Author Topic: Upload additional images: How to change standard size ( full image) to 600x450  (Read 1994 times)

Anne M

  • Beginner
  • *
  • Posts: 33
    • Anne's Online Shop
Hi,

In VM backend > Products > Media > Upload additional images the standard values for the full images
are
width: 500 height: 500.
where can I change that so that by opening the screen the standard width is 600px and height is 450px?
Is it adjustable in VM backend?
Which PHP file is responsible and therefore should be adjusted? And how....

For the thumbnail the values are correctly shown as in VM Administration > Site > thumbail size.

Thx for a solution.
Anne M


versions/theme:
Joomla 1.5.23, VM 1.1.8 default theme (dynamic resizing is activated)


[attachment cleanup by admin]
groetjes,
Anne M

deedee

  • Beginner
  • *
  • Posts: 1
Hi Anne,

I needed to edit this as well and I managed to change these default settings by going to: administrator\components\com_virtuemart\html\ and locate: product.file_form.php

then round about line 148:
Code: [Select]
<?php echo $VM_LANG->_('PHPSHOP_PRODUCT_FORM_HEIGHT');?>: <input type="text" name="fullimage_height" value="500" class="inputbox" />&nbsp;&nbsp;&nbsp;
<?php echo $VM_LANG->_('PHPSHOP_PRODUCT_FORM_WIDTH');?>: <input type="text" name="fullimage_width" value="500" class="inputbox" /></div>

All I did was change the values to my needed value and that changed it.

Hope this helps if you haven't already found an answer.