When the srcset attribute is added manually, the space between the url and xW in the output HTML is replaced with %20, causing the browser to not recognize the srcset attribute. I tried writing the space as “& nbsp;” and that didn’t work either.
Unfortunately, I cannot reproduce the issue. Would you be so kind as to provide a live link and a screencast using https://jam.dev showing and explaining every step?
If you copy your code into a real code editor (vs code, sublime text, atom, …), you will probably also see line breaks there. If you remove them, I think the problem will solve itself.
But I copied this little paragraph you provided and still have the same problem.
What I’m really trying to fix is that the last clip in the video uses dynamic data - {echo: get_custom_loop_object_property(image-srcset)} to output the srcset property without the %20.
Hey Ying, all good. That shouldn’t be a reproach. However, I still can’t reproduce the problem.
Would you be so kind as to send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase?