Jump to content
Sign in to follow this  
latincaster

Ultra Pics 2.07.01

Recommended Posts

hi, i have installed ultrapics and it works great! the only thing i'd like to do is change the layout and have the images displayed in rows of 2 pictures instead of three. could someone help please? thanks!

Share this post


Link to post
Share on other sites
hi, i have installed ultrapics and it works great! the only thing i'd like to do is change the layout and have the images displayed in rows of 2 pictures instead of three. could someone help please? thanks!

 

I've made the same, but cannot remember the steps quickly. Try to replace catalog/includes/modules/additional_images.php with this:

 

<!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->
   <tr>
     <td>
     <table width="100%">
       <tr>
<?php if (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_xl_1'] == '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } elseif (($product_info['products_image_sm_1'] != '') && ($product_info['products_image_xl_1'] != '')) { ?>
         <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_1']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td>
<?php } elseif (($products_info['products_image_sm_1'] == '') && ($product_info['products_image_xl_1'] != '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_1'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } else {echo '<td></td>';} ?>
<?php if (($product_info['products_image_sm_2'] != '') && ($product_info['products_image_xl_2'] == '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } elseif (($product_info['products_image_sm_2'] != '') && ($product_info['products_image_xl_2'] != '')) { ?>
         <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_2']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td>
<?php } elseif (($products_info['products_image_sm_2'] == '') && ($product_info['products_image_xl_2'] != '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_2'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } else {echo '<td></td>';} ?>
       </tr>
       <tr>
<?php if (($product_info['products_image_sm_3'] != '') && ($product_info['products_image_xl_3'] == '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_3'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } elseif (($product_info['products_image_sm_3'] != '') && ($product_info['products_image_xl_3'] != '')) { ?>
         <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_3']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_3'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td>
<?php } elseif (($products_info['products_image_sm_3'] == '') && ($product_info['products_image_xl_3'] != '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_3'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } else {echo '<td></td>';} ?>
<?php if (($product_info['products_image_sm_4'] != '') && ($product_info['products_image_xl_4'] == '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_4'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } elseif (($product_info['products_image_sm_4'] != '') && ($product_info['products_image_xl_4'] != '')) { ?>
         <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_4']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_4'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td>
<?php } elseif (($products_info['products_image_sm_4'] == '') && ($product_info['products_image_xl_4'] != '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_4'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } else {echo '<td></td>';} ?>
       </tr>
       <tr>
<?php if (($product_info['products_image_sm_5'] != '') && ($product_info['products_image_xl_5'] == '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_5'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } elseif (($product_info['products_image_sm_5'] != '') && ($product_info['products_image_xl_5'] != '')) { ?>
         <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_5']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_5'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td>
<?php } elseif (($products_info['products_image_sm_5'] == '') && ($product_info['products_image_xl_5'] != '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_5'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } else {echo '<td></td>';} ?>
<?php if (($product_info['products_image_sm_6'] != '') && ($product_info['products_image_xl_6'] == '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_6'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } elseif (($product_info['products_image_sm_6'] != '') && ($product_info['products_image_xl_6'] != '')) { ?>
         <td align="center" class="smallText"><?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_6']) . '" target="_blank" rel="lightbox[' . $product_info['products_name'] . ']">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_6'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?></td>
<?php } elseif (($products_info['products_image_sm_6'] == '') && ($product_info['products_image_xl_6'] != '')) { ?>
         <td align="center" class="smallText"><?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_xl_6'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="1" vspace="1"'); ?></td>
<?php } else {echo '<td></td>';} ?>
       </tr>
     </table>
     </td>
   </tr>
<!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->

Share this post


Link to post
Share on other sites
Hi,

anyone have a site url with Ultrapics installed so I can have a look?

 

 

My site is probably not a very good example - but it does have Ultrapics and Light box...with MRSP and CCGV(trad) and a number of other things - It is not the prettiest site you have ever seen as I am too busy to amend the look of it.

 

www.bonzabuy.com

 

 

One of the contributors sites is much cleaner - www.custamazing.com

Edited by bonzabuy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×