Skip to content

[DEV-23130] Fix - Large media galleries not loading properly - #1444

Merged
fgyimah merged 2 commits into
mainfrom
feature/dev-23130-linzi-shoes-media-galleries-not-loading-properly
May 19, 2026
Merged

[DEV-23130] Fix - Large media galleries not loading properly#1444
fgyimah merged 2 commits into
mainfrom
feature/dev-23130-linzi-shoes-media-galleries-not-loading-properly

Conversation

@fgyimah

@fgyimah fgyimah commented May 18, 2026

Copy link
Copy Markdown
Contributor
  • Optimized large media galleries by rendering images in batches of 48 with a "Show more" button
  • Each batch is a memoized chunk with content-visibility: auto so off-screen images skip layout/paint
  • Bumped @prezly/content-renderer-react-js to 0.44.3 for native loading="lazy" and decoding="async" on gallery images

Content renderer changes: prezly/content-renderer-react-js#111
based on: https://github.com/prezly/theme-nextjs-tomorrowland/pull/10

Screen.Recording.2026-05-18.at.5.47.02.PM.mp4

@fgyimah fgyimah self-assigned this May 18, 2026

@boki-prezly boki-prezly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fgyimah
fgyimah merged commit 0b4f95f into main May 19, 2026
5 checks passed
@fgyimah
fgyimah deleted the feature/dev-23130-linzi-shoes-media-galleries-not-loading-properly branch May 19, 2026 07:30
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