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

  • 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...
  • 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...
  • Locating mixed content in widgets

    Sometimes the scan finds mixed content in widgets. If you see this message it’s likely there’s a link to an image in one of your widgets which isn’t available over...
  • Plugin conflict force rewrite title Yoast

    * Update* This issue should be resolved in the 2.4 version. I left the Yoast check for now, but this warning will be removed in future versions. If you have...

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