Forums / Templates, Stylesheets, Page Layout / Product detail page - issue resizing image

Product detail page - issue resizing image

Locked

Started by cmavroudis on 8 May 2010, 5:25 PM · Views: 900

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 May 2010, 5:25 PM
#1
cmavroudis avatar

cmavroudis

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Product detail page - issue resizing image

Hi,

I am working on the product detail template of my new shop:
http://www.kukistudio.com/index.php?main_page=product_info&cPath=22_1&products_id=1

Essentially I am trying to increase the size of the image on this page to be 329x491 which is incidently the original size of the image in question as uploaded to ZC.

The code which writes this image does not hardcode the width and height but for some reason the page keeps rendering the image to (width="80" height="120" ). I cant figure out where these two figures are coming from. In admin->config-->image none of the image dimensions are set to this height and its not hardcoded in the temaplte either.

Can anybody offer any suggestion as to how I can increase the size of this image to 329x491?

<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a>'; ?>');
//--></script>
<noscript>
<?php
  echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a><br /><a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a>';
?>
</noscript>

Cheers
Cos

8 May 2010, 5:41 PM
#2
cmavroudis avatar

cmavroudis

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Re: Product detail page - issue resizing image

to add to my above post Ive tried setting many of the width and height fields in admin->config->image but it doesnt seem to render through onto the page either.

9 May 2010, 2:47 PM
#3
cmavroudis avatar

cmavroudis

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Re: Product detail page - issue resizing image

Hi,

Is there anybody who can offer me any help on this image issue?

Very much appreciated
Cheers
Cos

9 May 2010, 2:52 PM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Product detail page - issue resizing image

all image adjustments are done using your admin page

configuration > Images
here you can set the size for various pages that display product images and more

9 May 2010, 2:57 PM
#5
cmavroudis avatar

cmavroudis

New Zenner

Join Date:
Jan 2010
Posts:
22
Plugin Contributions:
0

Re: Product detail page - issue resizing image

issue solved however im unsure of why.

I set "Product Info - Image Height/Width" to my desired image settings in config->image however I still dont know where these values were being pulled from (width="80" height="120" ) as they definetly were not being pulled from "Product Info - Image Height/Width" as those two vauels were set to 150 and 200.

odd but solved now