Skip to content

Fixed blurry images in post feeds - #222

Open
weylandswart wants to merge 1 commit into
mainfrom
weyland-des-1376-source-theme-blurry-image
Open

Fixed blurry images in post feeds#222
weylandswart wants to merge 1 commit into
mainfrom
weyland-des-1376-source-theme-blurry-image

Conversation

@weylandswart

Copy link
Copy Markdown

Ref https://linear.app/ghost/issue/DES-1376/source-theme-blurry-image, https://linear.app/ghost/issue/DES-1427/tag-pages-image-srcset-issue

Use native sizes="auto" for lazy-loaded post card images so the browser selects a source matching the card's rendered width. Preserve explicit imageSizes values and the existing 320px fallback for eager cards.

@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 71f0e30c-2aa7-448c-883b-402d45ff1f13

📥 Commits

Reviewing files that changed from the base of the PR and between 32e6cc4 and 6fd64e0.

📒 Files selected for processing (1)
  • partials/post-card.hbs

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


Walkthrough

The post card template now renders responsive image sizing when imageSizes is unset and lazyLoad is enabled. The existing 320px fallback remains for non-lazy-loaded images.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 6fd64

This localized change adjusts responsive image sizing while preserving existing explicit sizes and eager-card fallback behavior; no actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: fixing blurry images in post feeds.
Description check ✅ Passed The description directly explains the sizes="auto" change, preserved behavior, and related issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch weyland-des-1376-source-theme-blurry-image

Comment @coderabbitai help to get the list of available commands.

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.

1 participant