Skip to content

Fix picture source MIME type prefix - #15

Closed
cvh-sitegeist wants to merge 3 commits into
sitegeist:mainfrom
cvh-sitegeist:codex-picture-source-image-type
Closed

cvh-sitegeist wants to merge 3 commits into
sitegeist:mainfrom
cvh-sitegeist:codex-picture-source-image-type

Conversation

@cvh-sitegeist

@cvh-sitegeist cvh-sitegeist commented Jun 2, 2026 •

Copy link
Copy Markdown
Collaborator

What

Update the Picture Source component so the generated type attribute uses image/{croppedImage.format} instead of the raw format value.

Why

The type attribute on <source> should contain a valid MIME type. Prefixing it with image/ makes the markup standards-compliant and helps browsers evaluate the source correctly during responsive image selection.

@ulrichmathes

Copy link
Copy Markdown
Member

solved with #17

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