I got my additional images lined up vertically below my main image with this tweak in tpl_product_info.php:
PHP Code:
<div id="productImagesWrapper">
<!--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-->
<!--bof Additional Product Images -->
<?php
/**
* display the products additional images
*/
require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->
</div>
and this styling
Code:
#productImagesWrapper { /*gjh42 20070214*/
width:200px;
}
#productMainImage { /*gjh42 12/30/06*/
width:200px;
}
#productMainImage img {
margin: 1em 0em 3em 0em ;
float: right;
}
#productAdditionalImages img { /*gjh42 20070329*/
margin: 1em 0em 1em 0em ;
float: right;
}
All other elements have margin-left: 210px; so they line up in a column to the right of the pics. See my site for a visual.
These may give you an idea of how to set up your display.
You may need to remove some class="clearBoth" tags.
Bookmarks