I'm selling t-shirts and I have specific needs for the product picture. I can't use one picture for all purposes. I need a picture of enlarged area on t-shirt where the imprinting is for catalog and other pages and a picture of the whole shirt as a main picture on the product page. So I thought I can upload the picture of a whole shirt as an additional picture and then in product.tpl just change that instead of in ADDITIONAL PICTURES section, it is placed picture right on the top where the $thumb picture is now.
I thought that I have to change something in this section:
Code: Select all
<td style="text-align: center; width: 250px; vertical-align: top;"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="thickbox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" style="margin-bottom: 3px;" /></a><br />
<span style="font-size: 11px;"><?php echo $text_enlarge; ?></span></td>
Code: Select all
<div id="tab_image" class="page">
<?php if ($images) { ?>
<div style="display: inline-block;">
<?php foreach ($images as $image) { ?>
<div style="display: inline-block; float: left; text-align: center; margin-left: 5px; margin-right: 5px; margin-bottom: 10px;"><a href="<?php echo $image['popup']; ?>" title="<?php echo $heading_title; ?>" class="thickbox"><img src="<?php echo $image['thumb']; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" style="border: 1px solid #DDDDDD; margin-bottom: 3px;" /></a><br />
<span style="font-size: 11px;"><?php echo $text_enlarge; ?></span></div>
Can someone help me please?
Also If I can do that, can I simply delete tab additional pictures?
Here is my site so you can see what I mean: http://direct-shirts.com/index.php?rout ... duct_id=49
Thanks!
David