Skip to content

Show a placeholder for broken or missing images in the shop - #8888

Merged
4ian merged 1 commit into
masterfrom
missing-image
Jul 27, 2026
Merged

Show a placeholder for broken or missing images in the shop#8888
4ian merged 1 commit into
masterfrom
missing-image

Conversation

@Bouh

@Bouh Bouh commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Wrap the CorsAwareImage component in an ImageWithFallback component that displays a "Missing Content" placeholder whenever the image has no source or fails to load. The placeholder should preserve the original image dimensions to prevent layout shifts.

This is mostly noticeable in development and staging, but since a broken pack can also make it to production, this provides a cleaner fallback, reduces the perception that the UI is broken, and makes missing assets much less jarring.

In staging / This PR
image

Add an ImageWithFallback component that displays a 'Missing Content'
placeholder (with a broken-image icon) when an image fails to load or has
no source, keeping the same layout to avoid layout shift. Use it in the
shop tiles and the media gallery in place of CorsAwareImage.
@Bouh
Bouh requested a review from 4ian as a code owner July 24, 2026 20:26
@4ian
4ian merged commit a2ede48 into master Jul 27, 2026
6 checks passed
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