Lightbox Not Being Applied

AI-generated summary

The discussion revolves around an issue with Lightbox not being applied to images in a Docker Discourse instance. csk reports the problem despite having default settings, including enabled thumbnails and remote image storage. They note that the lightbox-wrapper class isn’t applied, and provide screenshots comparing their site to a working one with a similar setup. simon suggests checking for ImageMagick warnings, but csk confirms no such warnings. After further troubleshooting, csk resolves the issue by spinning up a new instance and restoring from backup. tsk humorously attributes the fix to “vision’s™ plan,” while codinghorror shares a meme link, possibly implying the issue was a fluke.

Hello everyone.

I’m running the Docker Discourse. Lightbox is not being applied to our images. I don’t even know where to begin looking because I’ve not altered the settings, as far as I know.

We’ve looked at another forum similar to ours and spun up one from scratch. I’ve looked at the existing questions about Lightbox and they don’t seem to answer the question I have of, well, just what the heck is going on?

Any ideas of where to look or what settings to change? I’ve looked at app.yml and all through settings. Can’t find anything. I have Create Thumbnails enabled as well as download remote image to local storage settings enabled.

Thanks!

Do you have any warnings on your admin dashboard about ImageMagick not being installed?

Nothing that I can see. When I first installed I think I had some stuff to take care of. Looks clean now, though.

I don’t know if this helps, but it looks like the lightbox-wrapper isn’t even being applied.

My site:

Another site, similar setup:

Same upload method.

Does this help? Anything else I can try? Something in app.yml I can look at enabling?

I spun up a new server, created a new Discourse instance, and restored from a backup. It’s working now. :man_shrugging:

Probably just all part of the vision’s™ plan.

2 Likes