[wp-meta] [Making WordPress.org] #1073: WordCamp: Jetpack doesn't use Photon for Gallery images and images using HTTPS

Making WordPress.org noreply at wordpress.org
Mon Jun 8 08:32:09 UTC 2015


#1073: WordCamp: Jetpack doesn't use Photon for Gallery images and images using
HTTPS
--------------------+--------------------------
Reporter:  jeherve  |      Owner:
    Type:  defect   |     Status:  new
Priority:  normal   |  Component:  wordcamp.org
Keywords:           |
--------------------+--------------------------
 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.

 [[Image(https://s3.amazonaws.com/f.cl.ly/items/2r3S2v0h0N0N0d1H1M09/Screen%20Shot%202015-06-08%20at%2010.30.54%20AM.png)]]
 -- 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?

 - Related Jetpack commits:
 [https://github.com/Automattic/jetpack/commit/5ab9318622a2121f8d09916ab2c913c0ad9f6041
 5ab9318] and
 [https://github.com/Automattic/jetpack/commit/897ec5e2a86d8f09e35ef9d19c1168d28a094f4a
 897ec5e].

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1073>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list