Skip to content

Crop showcase screenshots to 600x450 in the home page carousel - #448

Merged
miromichalicka merged 1 commit into
developfrom
claude/github-issue-429-2e623e
Oct 23, 2026
Merged

miromichalicka merged 1 commit into
developfrom
claude/github-issue-429-2e623e

Conversation

@miromichalicka

Copy link
Copy Markdown
Member

Closes #429

What

  • New image style screenshot_cropped: scale and crop to 600x450, anchored top-center so tall full-page screenshots keep the site header instead of showing the middle of the page.
  • The showcase stack view mode now uses it for the main screenshot (previously screenshot_small, which only scaled to 600px wide and left slides at different heights).

The stack view mode renders both the home page carousel (showcase view, embed_1) and the showcase listing (embed_2), so the listing tiles become uniform 4:3 too. screenshot_small stays in use by the screenshot responsive image style.

Testing

  • Partial-imported the two config files on a local DDEV site; the carousel now requests screenshot_cropped derivatives.
  • Fetched five derivatives: all 600x450; a full-page screenshot crop keeps its header.

🤖 Generated with Claude Code

Add a screenshot_cropped image style (scale and crop to 600x450,
anchored top-center so full-page screenshots keep their header) and
use it for the main screenshot in the showcase stack view mode, which
renders both the home page carousel and the showcase listing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@miromichalicka
miromichalicka merged commit 6c55386 into develop Oct 23, 2026
4 checks passed
@miromichalicka
miromichalicka deleted the claude/github-issue-429-2e623e branch October 23, 2026 21:11
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.

Crop images in carousel on the home page.

1 participant