Skip to content

Remove Photon srcset from Plugin Directory screenshots#693

Open
dan-zakirov wants to merge 1 commit into
WordPress:trunkfrom
dan-zakirov:dan/plugin-screenshots-photon-cache
Open

Remove Photon srcset from Plugin Directory screenshots#693
dan-zakirov wants to merge 1 commit into
WordPress:trunkfrom
dan-zakirov:dan/plugin-screenshots-photon-cache

Conversation

@dan-zakirov

Copy link
Copy Markdown

This removes the Photon based srcset for Plugin Directory screenshot thumbnails and keeps the images on ps.w.org.

The current src already points to ps.w.org with the SVN revision cachebuster, but production srcset can still route thumbnail candidates through i0.wp.com. That adds a second CDN cache layer and can make replaced screenshots appear stale for some users.

This keeps the existing Gallery block output, lightbox behavior, captions, layout detection, dimensions, and reveal behavior unchanged.

Remove the Photon srcset for Plugin Directory screenshots so replaced assets keep using the ps.w.org URL with its revision query.

Keep the Gallery block, lightbox, layout detection, captions, and reveal behavior unchanged.
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props alexodiy, medavidallsop.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@medavidallsop

Copy link
Copy Markdown

I also noticed this on a few plugins. Added info to Slack:

On a plugin, I updated the screenshot assets, im seeing after 48 hours the thumbnails on the plugin page still haven't updated, but if you enlarge the screenshots they show the updated images - the enlarged screenshots come from ps.w.org and they are fine, but the thumbs come from i0.wp.com/ps.w.org and those remain the old ones

https://wordpress.slack.com/archives/C02QB8GMM/p1784192370772129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants