Menu

NgOptimizedImage element srcset

#angular#redditangular#can#issue#anyone
Reading 0:00
15s threshold

Has anyone found how to solve this issue here? <picture> <source [media]="media" [srcset]="`${assetUrl}/background-mobile.webp`" /> <img ngSrc="background.webp" alt="" priority fill /> </picture> The problem is that even on mobile, the desktop image is…

Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.