Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default 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?...&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?

    PHP Code:
    <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_mediumaddslashes($products_name), MEDIUM_IMAGE_WIDTHMEDIUM_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_nameMEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '</a><br /><a href="' zen_href_link(FILENAME_POPUP_IMAGE'pID=' $_GET['products_id']) . '" target="_blank">' zen_image($products_image_medium$products_nameMEDIUM_IMAGE_WIDTHMEDIUM_IMAGE_HEIGHT) . '</a>';
    ?>
    </noscript>
    Cheers
    Cos

  2. #2
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default 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.

  3. #3
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Jan 2010
    Posts
    22
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Product detail listing issue
    By marton_1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Nov 2013, 11:28 PM
  2. Image swap when clicked in product detail page?
    By calico in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Sep 2010, 08:12 PM
  3. Product Detail Page Display Issue
    By CompuWeb in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Jul 2010, 03:45 PM
  4. how do i get rid of "larger image" function in product detail page?
    By tat1973 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Nov 2007, 07:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg