Closed eibiflo closed 5 months ago
This Example Code
<source srcset="{f:uri.image(image: file, fileExtension: 'webp', cropVariant: 'desktop')}" media="(min-width: 2560px)" type="image/webp"> <source srcset="{f:uri.image(image: file, fileExtension: 'jpg', cropVariant: 'desktop')}" media="(min-width: 2560px)" type="{file.mimeType}"> <source srcset="{f:uri.image(image: file, maxWidth: '{w2560}', fileExtension: 'webp', cropVariant: 'desktop')}" media="(min-width: 1920px)" type="image/webp"> <source srcset="{f:uri.image(image: file, maxWidth: '{w2560}', fileExtension: 'jpg', cropVariant: 'desktop')}" media="(min-width: 1920px)" type="{file.mimeType}"> <source srcset="{f:uri.image(image: file, maxWidth: '{w1920}', fileExtension: 'webp', cropVariant: 'desktop')}" media="(min-width: 1600px)" type="image/webp"> <source srcset="{f:uri.image(image: file, maxWidth: '{w1920}', fileExtension: 'jpg', cropVariant: 'desktop')}" media="(min-width: 1600px)" type="{file.mimeType}">
Generates Browser HTML:
But the Raw OutPut looks Invalid:
Looks like a Problem with HTML-DomDocument - Need to check
This Example Code
Generates Browser HTML:
But the Raw OutPut looks Invalid:
Looks like a Problem with HTML-DomDocument - Need to check