osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Full size picture on product page.

This is a discussion on Full size picture on product page. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Thanks to Artem, I have this working. Simple code, change product_info.php Locate section with javascript opupWindow call (somewhere around line ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-24-2004, 09:29 AM
Lurker
 
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
h4ppy_girl
Default Full size picture on product page.

Thanks to Artem, I have this working. Simple code, change product_info.php Locate section with javascriptopupWindow call (somewhere around line 120) and make it like this:

Code:
<?php
    if (tep_not_null($product_info['products_image']))
{
?>
          <table border="0" cellspacing="0" cellpadding="2" align="right">
            <tr>
              <td align="center" class="smallText">
<script language="javascript"><!--
//document.write('<?php echo '<a href="javascript:popupWindow(\\\'' .
tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' .
$product_info['products_id']) . '\\\')">' .
tep_image(DIR_WS_IMAGES .
$product_info['products_image'],
addslashes($product_info['products_name']),
SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE .
'</a>'; ?>');
document.write('<?php echo '' .
tep_image(DIR_WS_IMAGES .
$product_info['products_image'],
addslashes($product_info['products_name']), null,
null, 'hspace="5" vspace="5"') .  ''; ?>');
//--></script>
<noscript>
<?php echo '' . tep_image(DIR_WS_IMAGES .
$product_info['products_image'],
$product_info['products_name'], null, null,
'hspace="5" vspace="5"') . ''; ?>
</noscript>
              </td>
            </tr>
          </table>
<?php

http://www.myorganickid.com/oscommerce/index.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Image size hack for product pages brendanl79 osCMax v2 Customization/Mods 10 06-15-2007 01:37 PM
How to change the image size on product page? groggory osCMax v2 Customization/Mods 1 02-08-2006 06:06 PM
Set Product Page Image Size groggory osCMax v2 Customization/Mods 0 01-22-2006 03:52 PM
Product picture viewing problems Migraine osCommerce 2.2 Modification Help 0 04-18-2005 04:42 AM
Full description in product listing contribution in MS2-Max? BassDaddy777 osCMax v1.7 General Mods Discussion 2 04-30-2004 07:43 AM


All times are GMT -8. The time now is 04:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax