View Single Post
  #56  
Old 10-24-2006, 08:55 PM
 
cyberdriveway cyberdriveway is offline
 

Advanced Member
  
Join Date: Aug 2004
Location: California
Posts: 32
 

Lightbulb Re: Lightbox JS v2.0 implementation

Hello Rocate,

I reviewed your product.tpl code and everything looks correct. I then loaded a brand new copy of 4.0.18 with the default sample products (note: default xcart method for storing images is within the xcart MySQL database).

I browsed the defaut store, and all works as expected. Then installed the Thickbox code for "detailed images". This resulted in the same failure as your site is getting....

After clicking the link for the detailed image all I see is the spinning loading graphic. I also see the URL for the detailed image contains the image.php script, and not the complete URL to the actual image.

I then changed the xcart method of storing images in the "DB" to the "file system".

Now when I click the "detailed image" link Thickbox works as expected, and the URL shown for the image is the complete URL to the actual image.




... In summary, I guess the Thickbox script works only with xcart sites that store the images within the file system and not in the database.


Where are your images stored? If they are in the DB can you move them to the filesystem (that is if you don't mind having them in the filesystem)?


If you would rather keep them in the DB I am sure additonal code could be written to allow this with Thickbox and xcart. That is up to you if you think it is worth the time to make these additional changes.



Well let me know what you find... I am going to re-read this thread, and see if perhapes someone already pointed this out or not.

Regards,
Tyson
__________________
Tyson McPherson
X-Cart version 4.1.8
PHP 4.3.9
MySQL server 4.1.12-log
MySQL client 4.1.12
Web server Apache/2.0.52 (Red Hat)
Operation system Red Hat 3.4.6-2
Reply With Quote