Jump to content

quickshot12

Members
  • Content count

    34
  • Joined

  • Last visited

  1. Hi, I have Ultra Pics installed however I do not want to use popup images but would rather have the full size images show. I've figured out that this code will display the main product image full sized on the product info page: <?php echo tep_image(DIR_WS_IMAGES . $product_info['products_image_med']) ?> Now the rest of the code to show additional images is like so; <?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']) . '" rel="lightbox[product]">' . 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 } ?> If someone could help me that would be great.
  2. Yeh i already already have it invest/mobile I tried that as well (invest/mobile/) and have tried again, still blank page. I have also removed include(DIR_MOBILE_CLASSES . 'categories_js.php'); from the index file. Any more help would be greatly appreciated.
  3. I'm having trouble getting this to work. I've uploaded in my catalog folder straight from the download so i can only assume it is in my configure.php file. Contents of my configure.php file <?php define('DIR_MAIN_HTTP_CATALOG', '/invest/'); define('DIR_WS_HTTP_CATALOG', '/mobile/'); define('DIR_WS_HTTPS_CATALOG', '/mobile/'); define('DIR_WS_IMAGES', '../images/'); define('DIR_WS_INCLUDES', '../includes/'); define('DIR_MOBILE_IMAGES', 'images/'); define('DIR_MOBILE_INCLUDES', 'includes/'); define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/'); define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/'); define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/'); define('DIR_MOBILE_LANGUAGES', 'includes/languages/'); define ('MOBILE_IMAGE_WIDTH', '80px'); define ('MOBILE_IMAGE_HEIGHT', '80px'); define ('FILENAME_MOBILE', 'mobile.php'); define ('FILENAME_PRODUCTS', 'products.php'); define ('FILENAME_ABOUT', 'about.php'); define ('FILENAME_SEARCH', 'search.php'); define ('FILENAME_LANGUAGES', 'languages.php'); define ('SEO_ENABLED', 'false'); ?> Have also tried 1. define('DIR_MAIN_HTTP_CATALOG', '/shop/'); 2. define('DIR_MAIN_HTTP_CATALOG', '../shop/'); 3. define('DIR_MAIN_HTTP_CATALOG', '/shop/mobile'); 4. define('DIR_MAIN_HTTP_CATALOG', 'the_full_location_from_the_server_root'); 5. define('DIR_MAIN_HTTP_CATALOG', 'http://mystore.com/shop/'); I have also tried turning on error display in application_top.php. I get the same thing when navigating to index.php and mobile.php. Any ideas anyone? Thanks.
  4. quickshot12

    Mi first osCommerce

    In catalog\product_info.php delete this code <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> from http://forums.oscommerce.com/index.php?showtopic=287540 (search forum) Is www.sendapackage.com your site?
  5. quickshot12

    Popup Shopping Cart

    Have searched around but can't find anything like this. (sorry if there is - point me in the right direction) Has anyone thought about a popup shopping cart? I would be particularly interested in integrating a lightbox type effect as done with lightbox and the image popups in oscommerce. I'm not great with code but from my limited knowledge wouldn't think it would be that hard? Any thoughts? I would be willing to help get this developed. Let me know what you think.
×