[zen-cart] "No Picture Available" issue

m138

Joined: 2006-10-24
Posts: 3
Posted: Tue, 2006-11-07 17:21

Hi guys I've finally integrated both products but unfortunately new problems arrive by the day.

Issue
Once the photos are uploaded through G2, thumbnails are not showing up on Zen Cart. *SOME* of them randomly do but most of the time they don't. I appreciate any input in this issue. Thanks in advance.

Specs
ZC v. 1.2.7
G v. 2.1
PHP4 MySQL4

 
brianb_adk

Joined: 2006-11-09
Posts: 48
Posted: Thu, 2006-11-09 21:33

I just installed this module as well and don't know if it will fix your problem, but this was in the README.TXT:

Known issues:
* Thumbnails for Gallery products are not displayed in Zen Cart in some instances.
Solution: This may be caused by a limitation in Zen Cart which restricts the length of the
thumbnail URL. As a result, if you are not using URL rewrite or if your Zen Cart and Gallery 2
directories are particularly far away, the URLs may be too long and thumbnails will not be
displayed. To correct this, try activating URL rewrite. Alternatively, or if URL rewrite does not
solve the problem, do the following:
1) Run this query on your Zen Cart database (where "PREFIX_" is your Zen Cart table prefix,
generally "zen_"): ALTER TABLE `PREFIX_products` CHANGE `products_image` `products_image` VARCHAR
(255)
2) Check the "Enable long thumbnail URLs" box in the Zen Cart module options in Gallery 2.
3) Deactivate and reactivate the module to update the thumbnails in Zen Cart.

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Sun, 2006-11-19 00:46

I am having the same problem, but only on Internet Explorer. The thumbs show up fine on Firefox and Safari. I followed all of the instructions in the read me and it didn't help. I am using the shortest possible URLS in url rewrite and still the thumbs won't load. I think it's another issue altogether than what is mentioned in the readme. M138 did you test on several browsers? Thanks

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Thu, 2007-02-15 22:00

I finally discovered that the problem was simply how I had the image sizes set in zen cart's preferences. If you set them below a certain size they just don't display. Try playing with the photo settings and see what happens...

New York photo gallery
Washington DC photo gallery
Cityscapes and skylines photo gallery
landscape photography gallery
black and white photography gallery