My trouble is that I want different images for catalog and as a main product image. So I figured out to just upload image for main product image as an additional image and then move Additional Images section from tabs up instead the main product image.
But then, if I really have additional images (different product colors etc.) i would like to have them underneath the main product image and only show first additional image enlarged. This is where I'm stuck now:
Code: Select all
<div class="middle">
<div style="width: 100%; margin-bottom: 30px;">
<table style="width: 100%; border-collapse: collapse;">
<tr>
<td style="text-align: center; width: 250px; vertical-align: top;">
<div style="text-align: center; margin-left: 5px; margin-right: 5px; margin-bottom: 10px;">
<img src="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" width="270" height="270" alt="<?php echo $heading_title; ?>" style="border: 1px solid #DDDDDD; margin-bottom: 3px;" /><br />
</div>
<?php foreach ($images as $image) { ?>
<div style="display: inline-block; float: left; text-align: center; margin-left: 0; margin-right: 0; margin-bottom: 5px;">
<a href="<?php echo $image['popup']; ?>" title="<?php echo $heading_title; ?>" class="thickbox" rel="gallery">
<img src="<?php echo $image['thumb']; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" style="margin-bottom: 3px;" /><br />
<span style="font-size: 11px;"><?php echo $text_enlarge; ?></span></a></div>
<?php } ?>
</td>
Basically I don't know what to put instead of $popup in this line:
Code: Select all
<img src="<?php echo $popup; ?>"
Selling t-shirts is tricky because in category view, you want to have enlarged t-shirt imprint and in product view you should have the whole t-shirt as your main product image.
Thanks for your time!
Darkorns