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

  • 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...
  • 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...
  • How to track down mixed content or insecure content

    The built in mixed content fixer in Really Simple SSL fixes all mixed content that’s part of your websource. But there are some types of mixed content that need to...
  • Does Really Simple SSL make my site slower?

    When you’ve activated Really Simple SSL on your site, in some cases you might notice your site has become slower. I specifically built this plugin to be fast: most of the...

3 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.

  • Ulisses

    Obrigado! Resolveu meu problema, esta no Jatpack!

Leave a Comment