-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Lightbox + Photon bug #6103
Copy link
Copy link
Closed
Labels
compatibility/3rd-partyIndicates a compatibility problem with a 3rd-party plugin or theme.Indicates a compatibility problem with a 3rd-party plugin or theme.status/mergedIndicates when a Pull Request has been merged to a Release.Indicates when a Pull Request has been merged to a Release.
Milestone
Metadata
Metadata
Assignees
Labels
compatibility/3rd-partyIndicates a compatibility problem with a 3rd-party plugin or theme.Indicates a compatibility problem with a 3rd-party plugin or theme.status/mergedIndicates when a Pull Request has been merged to a Release.Indicates when a Pull Request has been merged to a Release.
Prerequisites
Description
Elementor's Lightbox code doesn't recognize images with ?ssl=1 at the end of their URLs as images, so the Lightbox doesn't trigger on links to them.
Jetpack's Photon (CDN image hosting) automatically adds ?ssl=1 of images, so when Jetpack is enabled (on an SSL site, I suppose) the Lightbox no longer functions.
Steps to reproduce
Enable Jetpack & its Photon option.
Create Image element with Lightbox enabled on an SSL site.
Lightbox works fine in the Elementor editor (where ?ssl=1 isn't added by Jetpack) but fails on the live site, where ?ssl=1 is added.
Disabling the Photon option removes the ?ssl=1 and Lightbox functionality works again.
Isolating the problem
Environment
System Info
``` N/A ```