Re: Image Display Size Restriction
silver-net-surfer makes some valid points and my thought would be the mega menu is the first culprit I would look at as I have had issues with the mega menu and the lightbox (a different issue and adjusting the z-index was indeed the solution)
However you state yourself that the images were not working BEFORE you installed the lightbox, so there is another issue at play, and you need to resolve it before asking for help with this module.. It is UNLIKELY the issue of missing images will be resolved by troubleshooting THIS MODULE since the images were missing BEFORE you installed Zen Lightbox.. It would be a tremendous waste of energy to try and troubleshoot issues fundamentally not related to this module as if this module is the cause (by your own admission.. they were not)
Quote:
Originally Posted by
AlexThibo
Thanks for sharing your experience silver-net-surfer. :smile: I understand what you mean but I'm not sure I understand how and where to locate the z-index for each module. I have the Firebug plugin installed on my firefox browser. Could it help?
But in the case the Zen Lightbox module is under an other one, will it only prevent it to work properly, and not show the popup image? Because currently, no image at all is showed in the product description. See:
http://www.offroadrescuenetwork.com/...roducts_id=181 This product has 3 working images
Also, even if I uninstall the Zen Lightbox plugin with running the uninstall SQL lines, the image are still not showing. That another reason why I think the issue is on the template. Probably juste a line that I modified that I don't remember... :(
Re: Image Display Size Restriction
Alexthibo.
Is the problem on a LIVE site?
If it is, rather than spending time chasing for a solution I would personally take a different approach.
NOTE: You may already have set up a test site and a live site separately, but if not read on.
When I had a problem that I could not figure (not with ZenCart - but same principal), this is what I did.
- Install a second 'testing' copy of the package.
- Configure exactly the same as the live copy - but without any plugins.
- Add a couple of products and test it all works.
- Add first plugin - test
- Add second plugin - test again
- etc until the problem plugin is found or all plugins added successfully.
This should not take long because adding plugin files is simply an upload, and there is no need to edit all the individual files needed for each plugin - just copy them from your live site.
When a problem appears on the site or it breaks you know that the last installed plugin is the culprit and you can check that to ensure it was installed properly.
I did this on a site that had a package with 12 plugins, and the problem showed up on the third one, but even installing them all would have not taken more than an hour.
Of course this all assumes you have access to add a second copy on the server.
NOTE: Use the same database with a different table prefix.
Now I always do 2 installations of a package from day one - it may take a little longer to set up, but it can save a lot of time and trouble if things go wrong.
Re: Image Display Size Restriction
Quote:
Originally Posted by
pewe
- Install a second 'testing' copy of the package.
- Configure exactly the same as the live copy - but without any plugins.
- Add a couple of products and test it all works.
- Add first plugin - test
- Add second plugin - test again
- etc until the problem plugin is found or all plugins added successfully.
OR..
simply configure the test site with the Zen Cart test data at the time of the install
Regardless I think it's pretty clear that Alex's issue is NOT this module... He has another fundamental issue going on with his images, and that needs to be resolved before coming to the Zen Lightbox support thread seeking help for an issue that is NOT related to Zen Lightbox.. The issue is not this module at all..
Re: Image Display Size Restriction
@AlexThibo
I think I found your problem.
Looking at your source code, the img tag is never getting created by the document.write function.
Upon inspection, it's the translation of "larger image" that is breaking the page.
Look in [includes/languages] if there is a french.php file there, or you may have to go into /french and find another file there.
You are looking for:
Code:
define('TEXT_CLICK_TO_ENLARGE', "Agrandir l'image");
then change it to:
Code:
define('TEXT_CLICK_TO_ENLARGE', "Agrandir l\'image");
this backslash will escape the apostrophe in l'image and should let the function complete without error.
daniel
Re: Image Display Size Restriction
Quote:
Originally Posted by
niestudio
@AlexThibo
I think I found your problem.
Looking at your source code, the img tag is never getting created by the document.write function.
Upon inspection, it's the translation of "larger image" that is breaking the page.
Look in [includes/languages] if there is a french.php file there, or you may have to go into /french and find another file there.
You are looking for:
Code:
define('TEXT_CLICK_TO_ENLARGE', "Agrandir l'image");
then change it to:
Code:
define('TEXT_CLICK_TO_ENLARGE', "Agrandir l\'image");
this backslash will escape the apostrophe in l'image and should let the function complete without error.
daniel
Woohoo! Right on Sir!! That was the problem, it's now working!!Thanks a lot!
It amaze me how you guys can give people so much time and help! I would never find it alone! Thank you a billion times!! And thanks everyone for your time to help, you are all wonderful!! :hug:
Re: Image Display Size Restriction
Quote:
Originally Posted by
AlexThibo
Woohoo! Right on Sir!! That was the problem, it's now working!!Thanks a lot!
It amaze me how you guys can give people so much time and help! I would never find it alone! Thank you a billion times!! And thanks everyone for your time to help, you are all wonderful!! :hug:
Glad to hear it worked!
Re: Image Display Size Restriction
I have a question for you nie,
I swear I was using your lightbox version 1.6.4 for both 1.3.9 and 1.5.
It quit working properly and my zip disappeared from my computer (had a slight hard drive issue and it ate things. Anyway the zip no longer exists in the plugins and there I find that 1.3+ users still are to use 1.6.2
So had to downgrade what I had.
I know it worked and the name and version were right because I have also installed it into many stores but what happened to that zip in the offerings on your downloads page in plugins -- I know it was there becasue when I looked at the 1.6.4 zip it had the sql exactly as I remembered it.
Re: Image Display Size Restriction
Quote:
Originally Posted by
DarkAngel
I have a question for you nie,
I swear I was using your lightbox version 1.6.4 for both 1.3.9 and 1.5.
It quit working properly and my zip disappeared from my computer (had a slight hard drive issue and it ate things. Anyway the zip no longer exists in the plugins and there I find that 1.3+ users still are to use 1.6.2
So had to downgrade what I had.
I know it worked and the name and version were right because I have also installed it into many stores but what happened to that zip in the offerings on your downloads page in plugins -- I know it was there becasue when I looked at the 1.6.4 zip it had the sql exactly as I remembered it.
Just like every add-on ALL historical versions are available for download.. Are you saying you can't find it?? (not clear what you are asking..)
Re: Image Display Size Restriction
Quote:
Originally Posted by
DivaVocals
Just like every add-on ALL historical versions are available for download.. Are you saying you can't find it?? (not clear what you are asking..)
That's right Diva. The one I used to have before comp ate it was for 1.6.4 v1.39-1.5 and had the sql install script for both of the store versions. The one that is listed now for 1.64 is totally for 1.5---it is a split sql file with 1.5 commented out at the bottom, but it will not work in 1.39h anymore :(
When I removed all files and sql, then reinstalled them my problem was still there
the product images in he description page would not open to the gallery part of LB, the aditional pages when clicked on would not go to LB at all. I had to revert down to 1.62 for the lightbox to fully function.
I tried all variations of the 1.6.4 offering
Re: Image Display Size Restriction
Quote:
Originally Posted by
DarkAngel
I have a question for you nie,
I swear I was using your lightbox version 1.6.4 for both 1.3.9 and 1.5.
It quit working properly and my zip disappeared from my computer (had a slight hard drive issue and it ate things. Anyway the zip no longer exists in the plugins and there I find that 1.3+ users still are to use 1.6.2
So had to downgrade what I had.
I know it worked and the name and version were right because I have also installed it into many stores but what happened to that zip in the offerings on your downloads page in plugins -- I know it was there becasue when I looked at the 1.6.4 zip it had the sql exactly as I remembered it.
Unfortunately I don't really remember all the different versions.
Could it have been a zip that was uploaded here in the thread?