Lightbox Trouble with src property: Http vs. Https

I’m having trouble displaying images in the Lightbox. If I have recognized the problem correctly, it is due to the link of the src property. If the link starts with HTTPS, the same image will be displayed in a much larger format in the lightbox than if I start the link with HTTP.

The first two pictures on https://www.qmbase.com/de/testing-lightbox/ show the problem

This is the shortcode I am using, as you can see it is the same image used twice:

[image src=“http://www.qmbase.com/wp-content/uploads/2018/02/Dokumentenmanagement-Dashboard-1-1.png” link=“true” info=“none” info_place=“top” info_trigger=“hover” deeplink=“true”]

[image src=“https://www.qmbase.com/wp-content/uploads/2018/02/Dokumentenmanagement-Dashboard-1-1.png” link=“true” info=“none” info_place=“top” info_trigger=“hover” ]

[lightbox]

How can I make the images with a https-link the same size as the picture with the http-link?

I appreciate any help.

Thank you!

Lutz

Hi Lutz,

Thanks for writing in! I have checked your reference link. Can you try disabling your Jetpack plugin’s lazy load feature and re-test this issue again. If not, try disabling your Jetpack plugin and re-test this issue again.

If you’re using caching plugin on your site, make sure to purge your server cache and also clear your browser cache before testing.

Let us know how it goes.
Thanks!

Hi Darshana,

thanks fo looking into my issue. Disabling the lazy load features doesn´t seem to make a difference. Deactivating Jetpack seems to help. However, deactivating Jetpack does not seem to be a satisfactory solution to the problem yet, is it?

Thanks

Lutz

Hello Lutz,

You are using Jetpack and Photon module is enabled. Please disable this module to make sure that the original images will load and not the cache version of Photon. To know more about the pros and cons of using Photon module, please check this out: https://developer.wordpress.com/docs/photon/

Hope this helps.

Hi RueNel,

I deactivated the Photon module and apperently this did the job.

Thanks for your help, great support. Keep up the good work!

Lutz

On behalf of my colleague, you’re welcome. Cheers! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.