Plugin Support
Velda
(@supernovia)
Hi @rafaeldejongh, Jetpack also uses a CDN to serve all images on your site, and it can also serve WebP. It looks like ShortPixel does the same thing. If you’re doubling up on the CDNs, I’m guessing that’s why you’re getting double the images.
Jetpack uses its CDN to display galleries, so I’d recommend just using that. Here are ShortPixel’s suggestions if you’d like to use both:
https://shortpixel.helpscoutdocs.com/article/76-can-i-use-a-different-cdn-with-your-service
@supernovia
I disabled Photon via the debug settings as I really dislike the compression settings it uses for the images so no images on my site are actually being served by Jetpack’s CDN nor do I want it to. So changing the CDN via ShortPixels methods does not really apply for this case I’d say.
Thanks for your reply though, but yea I do look for a possible fix for this problem.
Plugin Support
Velda
(@supernovia)
@rafaeldejongh Jetpack’s galleries aren’t likely to work properly without our CDN.
If you’re hoping to change compression settings, that is possible:
https://jetpack.com/tag/webp/
https://developer.wordpress.com/docs/photon/api/#quality
@supernovia
Like said I do not want to make use of the Jetpack/Photon CDN and even with that enabled the problem persist of course as it will still be double posted in the gallery lineup with the Picture/Image fallback tag as I want to keep using ShortPixel and do not want to rely on a third party CDN for my images.
The gallery works fine without the CDN except of course when there are two entrees found in the DOM, this seems to be completely code wise in terms on how the gallery picks up images, so I would like to have some insight on how to be able to solve this code wise, for example to exclude the <picture> tag from being included in the gallery lineup.
Thanks in advance for further information.
Our Tiled Galleries require our CDN to resize the images on the fly, there is no way to use our Tiled Galleries independent of our CDN: https://jetpack.com/support/tiled-galleries/
If you do not want our image CDN to operate on your site, I recommend avoiding both Tiled Galleries and Related Content (which also uses our CDN to resize images in the fly).
Plugin Support
Velda
(@supernovia)
You may be able to ask ShortPixel about configuring their plugin so it ignores our galleries and related posts images, and only affects other images.
Thanks for your answers, it is strange however as the gallery/tiled galleries work fine without photon. That being said it is really not the fault of ShortPixel here that these images are being filled in the galleries. But well no worries I’ll probably just step away from Jetpack as a whole and use an alternative.
Thanks either way for trying to help.