So I'm trying to get my medium images to show up in the price list. My mediums are stored in images/medium/*category*. Medium images also have "_MED" after the image name.
For example: thumbnail = /images/category/image.jpg
medium = /images/medium/category/image_MED.jpg
I managed to get the image directory changed to images/medium by changing line 646 of header_php.php to:
Code:
$prodRow .= zen_image(DIR_WS_IMAGES . 'medium/' . $cats[$cat_index][$prod_index]['products_image'], '', PL_IMAGE_PRODUCT_WIDTH, PL_IMAGE_PRODUCT_HEIGHT, 'class="imgPL"');
The code i added is in red.
However now I'm stuck. I'm not sure how to append _MED to the end of 'products_image'. Something is going on with an array there, and i couldnt find its origin. can you tell im no php expert?
If anyone can point me in the right direction, that'd be awesome.
Bookmarks