Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/sdks/src/blocks/image/image.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export function getSrcSet(url: string): string {
const widthInSrc = Number(url.split('?width=')[1]);
if (!isNaN(widthInSrc)) {
srcUrl = `${srcUrl} ${widthInSrc}w`;
} else {
srcUrl = `${srcUrl} 9999w`; // #3448 every srcset element has to have "w" or "x", otherwise browsers might ignore srcset
}

return sizes
Expand Down