Mixed content

Images not found with Photon from Jetpack

Some websites using JetPack have Photon activated. Photon is an image acceleration and editing service, where the images are served from the WordPress cloud. In some cases, there are issues with this service when moving to SSL. If you encounter links as these in your site that are giving you 400 or 404 errors, you are having this issue.

https://i0.wp.com/domain.com/wp-content/uploads/2016/12/image.jpg

JetPack seems to have some issues with https (see limitations). To fix this, you can just deactivate Photon. Possibly this filter might be of help. I only recently encountered it, so I haven’t been able to use it yet:
apply_filters ( 'jetpack_photon_reject_https', bool $reject_https )

See also: https://developer.jetpack.com/hooks/jetpack_photon_reject_https/

Related Articles

  • How to check if the mixed content fixer is active

    Really Simple SSL inserts a marker “data-rsssl” in the websource as a way to check if it’s working. If it it’s there the mixed content fixer is active. Really Simple SSL...
  • Removing mixed content fixer comment from html source

    Really Simple SSL adds a html comment to the source of your website. Since 2.4 this is a data attribute. This makes it easy to check if the mixed content fixer...
  • Disabling ssl for one page only

    The problem: services that don’t support SSL I think the best way to go is to get your entire site on SSL. But sometimes there are services that are not...
  • Parts of my site not loading

    Did you install Really Simple SSL on your site, and now some images, stylesheets, or external servcies are not loading? When a site is requested over the SSL protocol, the...

2 Comments

  • Fullername

    Hi, Disabling Photon has left more of my images broken, and then some others that were broken restored.
    Do you know if this filter helped yet?

    • Rogier Lankhorst

      Haven’t had any reactions on the filter yet. If you have success with it, please let me know.

Leave a Comment