#1073 closed enhancement (fixed)
WordCamp: Jetpack doesn't use Photon for Gallery images and images using HTTPS
Reported by: | jeherve | Owned by: | iandunn |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | good-first-bug has-patch needs-testing |
Cc: |
Description
By design, Jetpack only uses Photon for images inserted via HTTP. All HTTPS images will be ignored by Photon.
Since some (all?) of the WordCamp sites now use HTTPS as their site URL, galleries are now built using HTTPS image paths. As a result, the gallery images are resized by the browser, instead of using Photon.
-- See https://lyon.wordcamp.org/2015/les-photos/
To force Jetpack to use Photon anyway, we'd need to use the following filter:
add_filter( 'jetpack_photon_reject_https', '__return_false' );
I'm not sure where you would typically add such a tweak. I don't see any functionality plugin, so in one of the mu-plugins maybe?
Attachments (1)
Change History (7)
#2
@
9 years ago
- Keywords needs-patch good-first-bug added
- Owner set to iandunn
- Status changed from new to accepted
- Type changed from defect to enhancement
Yeah, all WordCamp sites are using HTTPS now, on the front-end and back-end.
I consolidated all of our Jetpack tweaks into mu-plugins/jetpack-tweaks.php, so that'd be the best place for this.
#3
@
9 years ago
- Keywords has-patch needs-testing added; needs-patch removed
I added a patch. I couldn't test it though, as I'm not sure how to get the whole meta site running locally.
#5
@
9 years ago
Thanks Jeremy, it worked great :)
For future reference, you can setup the Meta Environment to get a copy of WordCamp.org (and other wporg sites) running locally.
In 1663: