Responsive image loading without W3C-Validator issues #1082
Unanswered
felixranesberger
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm using the lazy loading feature of Splide in combination with responsive image loading,
as described here.
But using the provided solution, a W3C error is occuring, since the
sizes
attribute can't be used,without
srcset
beeing set beforehand.I'm using the following hack to get arround these issues:
( The
#
value is used to provide a non image link, which is still valid, but not loaded )Is there a better solution for this problem?
If not, should we update the documentation?
Beta Was this translation helpful? Give feedback.
All reactions