Photon Image URL Errors After 2.1.2 Update.
-
After updating jetpack from version 2.1.1 to 2.1.2, Photon started butchering my image urls quite severly. Here is an example of my image urls when photon is disabled and enabled.
Photon Disabled
<img src="https://solidgoldsecurity.com.au/wp-content/uploads/Emergency-Kit-195093_113x96.png" alt="30 Piece Roadside Emergency Kit" width="113" height="96">
Photon Enabled
<img src="http:/i0.wp.com/solidgoldsecurity.com.au/wp-content/uploads/Emergency-Kit.png?resize=500%2C500-113x96.png?resize=500%2c500" alt="30 Piece Roadside Emergency Kit" width="113" height="96">
The main problem with the photon src url is the lack of a forward slash “/” which you can see in
'http:/i0.wp.com'
. Obviously its meant to be'https://i0.wp.com'
. The image re-sizing is also all over the place and not the correct 113×96 dimensions.What source code can I edit to at least get the https:// correct so the images will load.
Site with issue – https://solidgoldsecurity.com.au/
Thanks
Simon
- The topic ‘Photon Image URL Errors After 2.1.2 Update.’ is closed to new replies.