Post by darkorns » Fri Jul 31, 2009 12:29 pm

Hi,

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>
using code from this section (ADD. PICS tab):

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>
I tried to change $thumb to $image where the img src tag is but it doesn't work.
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

Newbie

Posts

Joined
Fri Jul 31, 2009 12:12 pm

Post by darkorns » Mon Aug 03, 2009 1:36 pm

I give up!
Nobody is helping here. I thought this is a cute simple script. Well, it's too simple and I wish you a good luck. I don't want to go through all this again in a year when my needs exceed this script's sparse options.

Newbie

Posts

Joined
Fri Jul 31, 2009 12:12 pm

Post by orionweb » Tue Aug 04, 2009 4:14 pm

A true shame you didn't bump your post instead of getting angry and installing magento (urgh tbh) There are so many posts it was fairly easy to overlook.

Good luck

Image
Image


New member

Posts

Joined
Sun Jul 19, 2009 10:18 am
Who is online

Users browsing this forum: Amazon [Bot] and 4 guests