Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't see my "click to enlarge" images ?


fotografico

Recommended Posts

Hi there,

 

Have just uploaded a bunch of new photos for new products on my store.

The thumbnails are all there on the site, but whenever I click on the

"click to enlarge" feature, I get a blank pop-up.

 

Any idea what I haven't done/ am doing wrong ?

 

Kind regards

 

J

Link to comment
Share on other sites

  • 2 weeks later...

1. have you changed anything ???

 

2. where did you download OS commerce from ? some sites offers OS commerce downloads but there is something wrong with it. I downloaded one that drove me crazy (it was my first one I worked on) so I decided to give up. I changed hosting companies and there was a script that with a click I could create the site, I did and I am soooo happy with OS B)

Link to comment
Share on other sites

  • 8 months later...

Hmmmmm...I am having a similar problem. The only problem I am having is when i got to "click to enlarge" the image doesn't show at all, regardless if it's .gif, .jpg or whatever. I have set the correct path to where the large images are stored...but nothing shows up. Any ideas? It's located at: http://www.cobblestonestore.com/catalog/pr...products_id=345 I just can't understand what is going on with it. When I right-click on the broken link for the properties this is what shows up: http://www.cobblestonestore.com/catalog/DI...ESBIG1158-t.jpg The thumbnails I created work perfect, but the large images don't :'( It has been driving me crazy for many months with no fix in sight. I really could use some help this....everything else (so far) works fine on my cart.....just not the images.

Link to comment
Share on other sites

I had this problem with a store I was doing www.audio1.co.uk.

 

Basically OScommerce was not outputting the headers properly in the product_details page so the Java script was not showing. Suggestion to fix... edit products details and move Java script further down the code so that it outputs properly, it is something to do with the OScommerce html generator methods. Sorry this is a bit vague but basically if you just play a bit with the products detail code by using print "test"; statements you will find the problem quickelly i.e. save then view souce code in a browser, you will find that sometime the print work and others times it doesn't. When you find a print that works, move the Java script code to that location, save, upload (or if you are using a decent text editor i.e. nano you just save ;) then bob should be your uncle.

 

Don't know why this is a prob I downloadewds my copy form OScommerce.org (naturally) think it could be a bug perhaps related to server technologies, i.e. Apachy versions or php versions.

 

Dunno haven't really looked into it.

 

Hoep this helps.

 

Al

Link to comment
Share on other sites

Thanx folks :) Actually Allan it's a little confusing :P What is the file where hte code is located where I tell it to grab the "enlarge" images at? I did edit it a long time ago from a fix someone tried to tell me about and it never worked. So, all the "big" images are being pulled from catalog/images/big.....but they still don't show up. Now I can't remember what file I edited so I can try to change it back and fitle with it :P So far this is the only thing that is seriously bothering me.

 

An off topic question: Where do I edit the "categories" box so the categories listed don't have that annoying ">" symbol?

Link to comment
Share on other sites

Neo, looking at the properties of the broken image showed the following:

 

http://www.cobblestonestore.com/catalog/DI...ESBIG1158-t.jpg

 

...so I think you have an error in popup_image.php, line 36 (assuming virgin copy)... it should read:

 

<?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?>

 

I'm guessing your modified copy has 'DIR_WS_IMAGES' rather than just DIR_WS_IMAGES.

 

Categories box is in includes/boxes/categories.php btw :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...