If this is your first visit, check our documentation. To post, register or login.

Image Re-scale problem

Started by wilson_li on 6 Sep 2011, 5:57 PM · Views: 346

Results 1 to 2 of 2
6 Sep 2011, 5:57 PM
#1
wilson_li avatar

wilson_li

New Zenner

Join Date:
Jul 2011
Location:
New Jersey
Posts:
98
Plugin Contributions:
0

Post #1 by wilson_li

Hello All,

I have a problem in product information page. All the images with 480px x 640px have been re-scaled into 360px x 480px. I want to keep the image as original, and I looked into Admin->Config ->Image, cannot find the adjust option.

I there any way I can get rid of this problem?

Here is the one of the product page: http://www.oleklejbzon.com/campbellsloft3/index.php?main_page=product_info&cPath=5&products_id=119

Thanks

6 Sep 2011, 6:12 PM
#2
wilson_li avatar

wilson_li

New Zenner

Join Date:
Jul 2011
Location:
New Jersey
Posts:
98
Plugin Contributions:
0

Post #2 by wilson_li

[update]

Fixed, just go to /includes/module/additional_image.php

find:

$thumb_slashes = zen_image($base_image, addslashes($products_name), [B]LARGE[/B]_IMAGE_WIDTH, [B]LARGE[/B]_IMAGE_HEIGHT);
    $thumb_regular = zen_image($base_image, $products_name, [B]LARGE[/B]_IMAGE_WIDTH, [B]LARGE[/B]_IMAGE_HEIGHT);
    $large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large);

Change the "MEDIUM" to "LARGE"