If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Product images not appearing on product details page

Product images not appearing on product details page

Locked

Started by seattleannie on 7 Sep 2006, 3:59 PM · Views: 2,105

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Sep 2006, 3:59 PM
#1
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Product images not appearing on product details page

I recently installed a v1.3.0.2 cart, with the new security patches, via Fantastico and a cPanel interface.

I also installed the ImageHandler2 contribution. I don't think that is the source of my current problem.

When I add a new product, including an image, then Preview it - I see the image in the preview, and there are no error messages. Then, I insert it, and again, there are no error messages.

When I look at the Online Catalog and the category page, the product image is there. But, when I click deeper to the product detail page, there is no thumbnail image, and no pop-up image, either. The source code is looking for imagefilename_lrg.gif in the large directory. Should it be? I have been comparing the source code to another Zen Cart site of mine where the images are working, and that one is not adding suffixes to the enlarged product images.

Here is a link to the test category page:

http://sandyslace.com/wholesale/index.php?main_page=index&cPath=1_7

I appreciate any help you can give me!

~anne

8 Sep 2006, 12:47 AM
#2
steve avatar

steve

Totally Zenned

Join Date:
Jun 2003
Location:
Washington State USA
Posts:
1,918
Plugin Contributions:
0

Re: Product images not appearing on product details page

Actually it is a problem with the image contrib. It is not creating the large or the medium images. You may want to re-check the installation of the contrib.

Hello from Port Orchard. :)

Steve

Custom, Handmade Pens and Pencils and other Items

TFW Web Services - Web Site Hosting and Domain Names

8 Sep 2006, 3:10 AM
#3
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Product images not appearing on product details page

Hi Steve!

I uninstalled ImageHandler and did some test product entries - no change! Still not getting the images to show up on the product detail pages.

So, I don't think that was the problem, after all? And, why is it trying to use IH and generate those MED and LRG image files? I didn't use IH in this process... haven't been trying to add additional images, or use the IH tool. I have just been entering new products and browsing to include an image for them....

~anne

8 Sep 2006, 3:25 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Product images not appearing on product details page

seattleannie:

I uninstalled ImageHandler and did some test product entries - no change!You probably still have remnants of image-handler code on your site.
You may have to use brute-force to track down the offending code:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

seattleannie:

So, I don't think that was the problem, after all? And, why is it trying to use IH and generate those MED and LRG image files? I didn't use IH in this process...
Um, I think if it's installed, it's intercepting the process whether you are using it to add extra images or not. I could be wrong.
Regardless, if a medium image exists on your server, it will try to display it as the product image. If a medium image is not found, the normal image will be used for display instead.... if nothing has altered the files that do the display of images ... and IH alters those files. So, unless you've completely removed all traces of IH from all files, it may still be trying to do its thing...

You could try the brute-force approach above, or just do a fresh install and start over... perhaps using the latest code so you can skip having to upgrade later.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Sep 2006, 9:09 PM
#5
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Product images not appearing on product details page

Well, I installed ZC again - using Fantastico, to the same domain but a different directory, and ran test. Working fine, of course. So somehow, Image Handler2 is the source of the problem.

Uninstalling IM2 didn't fix it in the original shop, so I think you are right: files were changed and need to be restored back to their original state.

I do hope this does not mean that Fantastico's auto install of ZC 1.3.0.2 is not compaitble with Image Handler2... I will do another test by installing IH2 to the new test cart, and see if that makes the images misbehave like they are in the other one.

Thanks for the help, DrByte and Steve!

~anne

12 Sep 2006, 5:20 AM
#6
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Product images not appearing on product details page

To wrap this thread up... I re-uploaded all my Image Handler2 files and that cleared it up. Some file must have been corrupted in the original upload. Thanks for all your help!

~anne