Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default product images display

    does this part of the tpl_product_info_display.php display the product image or does the required tpl_modules_main_product_image.php actually do the displaying?

    Code:
    <!--bof Main Product Image -->
    <?php
      if (zen_not_null($products_image)) {
      ?>
    <?php
    /**
     * display the main product image
     */
       require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
    <?php
      }
    ?>
    <!--eof Main Product Image-->
    I'm asking because I am playing around with trying a drop shadow effect that requires me to wrap the image in some nested divs and I'm not sure where to set this up. Thanks in advance for any help on this and yes Linda I'm tryin' to break it again.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: product images display

    Mike,
    I am playing around with trying a drop shadow effect that requires me to wrap the image in some nested divs and I'm not sure where to set this up.
    I am php challenged but I can tell you that the code you posted and this file is the template for how the main image is displayed. if you move this code block within this file you can move the order(location) that it is displayed. I can not assist with where to wrap or what to wrap in div's. But if you have a look at the header.php file, it uses div's as part of the display functions.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v150 Some product images don't display, the .jpg is in the images folder
    By gbarnett in forum General Questions
    Replies: 8
    Last Post: 22 Feb 2012, 03:48 AM
  2. Display of Extra Product Images
    By guyhancock in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 May 2009, 12:08 PM
  3. # of images to display / product
    By sheila123 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 4 Mar 2009, 04:30 PM
  4. Product List Images Display
    By shughey in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 6 Feb 2009, 07:51 PM

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