• Resolved RafaelDeJongh

    (@rafaeldejongh)


    I didn’t notice up till now but whenever ShortPixel’s Image Compression Plugin is activated and configured that it should use WEBP images and have the original JPG/PNG as fallback will effectively populate duplicates in the JetPack Gallery which is of course undesirable.

    How would this best be fixed to avoid duplication in the gallery?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    @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.

    • This reply was modified 7 years, 6 months ago by RafaelDeJongh.
    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

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    @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.

    Plugin Contributor James Huff

    (@macmanx)

    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.

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    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.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Gallery Conflict with ShortPixel Compression Plugin’ is closed to new replies.