Forums / Templates, Stylesheets, Page Layout / product images display

product images display

Locked

Views: 1,149

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Oct 2006, 7:02 AM
#1
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

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?

<!--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.:D

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

2 Oct 2006, 10:23 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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