Since upgrading 1.10 and 1.11, Lightbox is only working when the site admin is logged into my site. I am integrating with the Image module.
If i click on the Thumbnail link within each image, it opens the thumbnail in lightbox.
Any thoughts to the cause?
Comments
Comment #1
luti commentedHaven't you forgotten the update script (/update.php)?
Comment #2
stella commentedCheck your permissions too.
Comment #3
pwetter commentedI did run update.php.
What permissions need to be set? All I see for lightbox is:
lightbox2 module
administer lightbox2
download original image
I am fairly new to drupal but I think I have everything correct. And it did work with 1.9. Also, I gave a user every permission available and it still did not work. Maybe I am missing something?
Here is the site if you would like to take a peek: http://nowthen.steamedsoup.com/image/tid/1
Also note that it is working when you click on the the thumbnail link within each picture.
Comment #4
pwetter commentedCheck that... A user with all permissions does make the lightbox work. So, what specific permissions do I need than for lightbox to work with the Image module? And why would it change between 1.9 and 1.10/1.11?
Comment #5
jriedel commentedI just ran into this same issue. I updated lightbox2 and also made sure the update.php was run.
Lightbox works as admin but not as an anonymous user.
Comment #6
pwetter commentedOk, I think i figured out the permission issue. I guess that the permission for the image module "view original images" must be allowed for annonymous to view the galleries in lightbox. Is this correct? And if so, why did it work fine in 1.9? I didn't see anything regarding this in the documentation.
Comment #7
my-family commentedI had a similar issue with 6.x-1.x-dev. Enabling "view original images" (Image module) for anonymous users solved it, thanks.
Comment #8
brennsuppa commentedI have the same problem, but I have not installed the Image module, so I have no "view original images" to enable!
any other possible solutions?
Comment #9
mmliju commentedI have also not installed the Image module.
when adding an image with lightbox it works fine for the preview of the page
but when click from the user side it is going to the orginal image
please help
Comment #10
mmliju commentedi figure out the problem it was because i didnt load the script files on thems/page.tpl page
Comment #11
brennsuppa commentedI'm not sure why, but it works now - I did run an update ;)
Comment #12
teoverton commentedI'm experienceing the same problem. I have the most recent lightbox on a new site and anonymous users don;t trigger lightbox, while it does trigger when administrator on the same pages. Any ideas? There is no update to run as it is newly installed, and I've given "download original" permission to everyone just to see if that would work.
Thomas
Comment #13
teoverton commentedOn closer reading of post #6 I now realize you must enable "download original image" in the image module as well as the lightbox module for anonymous users... This has worked for me. Hope this helps the next person.
Comment #14
BD3 commentedYes, you must enable "Download Original Image" or change the "Lightbox Image Display Size" to "Preview" at /admin/settings/lightbox2/automatic if you do not want users to be able to download the original image.
Comment #15
pwetter commentedRegarding post 13, you should not need to enable "download original image" in the lightbox2 module but rather only the image module. Enabling the "download original image" in the lightbox2 module seems to only add the link in the lightbox2 display to allow you to download the image.
Comment #16
Andrius Kurtinaitis commentedWhy should I allow to view the original image?
The preview size is perfectly sufficient for the anonymous.
This is clearly a bug in lightbox2.
Comment #17
pwetter commentedIf you want to use the preview size, just be sure to set lightbox2 "Lightbox image display size" to Preview and you will not have to have download original image checked. This is set under Site configuration, Lightbox2, Automatic image handling, Automatic handlers, Image node settings.
Comment #18
danreb commentedJust want to confirm that setting the option in the Automatic image handling to Preview make the lightbox2 works for anonymous users too.
Comment #19
dmf7 commentedThis "preview" option is not available in D7 version.. i looked several times.. nada. Also, download original didn't do anything for me either. that just provides a link .
any other ideas why it doesn't work when logged out?