OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: Images not displaying correctly
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > General Support
JuggaDaku
Hello, im having some trouble with the images displaying correctly.

For example, take a look at my site. If you click on "canvases" and select any canvas, the next page will have two of the same images because thats how I have to set it up. The main image in the Product info doesn't pop-up in full size, so im using additional images to do that. I can't figure out how to fix this. I want to use just one image that I chose when setting up the product page.

I needed to install additional images because of the way the threads section is displayed, that part is working great. But additional images aren't needed for the other sections. Like canvases, I want the picture that I upload while adding the product to pop up in full size, which isn't working. For some reason, when I add a product now, it doesn't even show and im getting really frustrated. Anyone who has an idea why this is happening?

http://www.dunwoodyneedleworks.com
allaboutwicker
Hi,

Do you know when this first started to Not work properly? Have you recently added any contributions which might effect the images files?

Here is a thread I found that might be helpful:

http://forums.oscommerce.com/index.php?showtopic=281217
JuggaDaku
Well, it looks like this thread is specifically for STS. Theres no major contributions added other than Additional Images. I installed a paypal verification box, and that's really it. It's really a pain in the ass because it's really hard to get everything working right, without something else messing up. Oscommerce is great but I wish they made some official contributions that are crucial. Like additional images.
JuggaDaku
Quick fix. Since the original OsC image wasn't coming up enlarged on the product info page, i took this out from the product_info file. Works for me
<script language="javascript"><!--
document.write('<?php echo '<a href="java script: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>'; ?>');
//--></script>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.