Source file: class.photon.phpView in GitHub
(bool) Should Photon ignore images using the HTTPS scheme. Default to false.
Since: Jetpack 2.4.0
By default, Jetpack’s Photon service will fetch and serve all images on your site, whether you use HTTP or HTTPS. You consequently do not need to use this filter to be able to use Photon on a site using HTTPS.
However, in some situations you may not want Jetpack to serve your HTTPS images. In such edge-cases, you can use this filter like so:
add_filter( 'jetpack_photon_reject_https', '__return_true' );
Where to add this filter
You can add the filter to your site using a plugin like this one:
when i enable “speed up image load time” button but button not enabled and when i enable button for image optimize and also show “updated” small popup on top-right side but when i refresh the page then again button show as disable. finally on my site jetpack not working properly
Please contact our support folks here:
We can try to help figure out why turning those features on is not working.
Pourquoi mon premier image du site ne se désactive pas ?
I’ve used Google Translate to understand what you mean. Based on that, we recommend contacting our support team in https://jetpack.com/contact-support/ so we can sort out the issue for you. Besides, if possible, please discuss in English as well.
I use the filter in Snippet but the images still don’t load. In the end I need to disable the “Speed up image load times” option.
Also, I wonder what that option really do? I see that it changes the srcset from http to https, and that’s all? How does using https link reduce loading time?
You can find the answer in our “Notes” section above.
Please contact us from https://jetpack.com/contact-support/ and let us know more info: why you need to use this filter, what your site is. We’re happy to discuss this with you further.
It’s similar with me. Images from CDN do not display on the page. As a result, the tiled gallery does not work either. Will using this filter eliminate the problem?
We suggest trying to use this filter. If it does not work, please contact us from https://jetpack.com/contact-support and provide more info about your site.