Skip to content

Tiled Gallery Block: Images don't follow the "jetpack_photon_skip_image" filter #42961

@Ninodevo

Description

@Ninodevo

Impacted plugin

Jetpack

Quick summary

The Tiled Gallery Block always uses Proton CDN images, and there is no way to disable this. While the jetpack_photon_skip_image filter can be used to disable Photon for individual images, it is not applied in the Tiled Gallery Block.

This causes issues for individual images that need to be served directly from the site, for example, protected images.

Steps to reproduce

  1. Add the filter to skip all photon images add_filter( 'jetpack_photon_skip_image', '__return_true' ); (easier for testing, in a real case scenario we won't skip all images).
  2. Add the Tiled Gallery Block.
  3. Images are served through Photon.

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Minor

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

No response

Platform (Simple and/or Atomic)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementChanges to an existing feature — removing, adding, or changing parts of itTriaged[Experiment] AI labels added[Feature] Photonaka "Image CDN". Feature developed in the Image CDN package and shipped in multiple plugins[Feature] Tiled GalleryA different way to display image galleries on your site, in different organizations and shapes.[Plugin] JetpackIssues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/[Pri] Low[Status] Auto-allocated

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions