{"id":16250085,"date":"2022-12-01T07:06:37","date_gmt":"2022-12-01T07:06:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/info-boxes-srcset-errors\/"},"modified":"2022-12-01T07:32:26","modified_gmt":"2022-12-01T07:32:26","slug":"info-boxes-srcset-errors","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/info-boxes-srcset-errors\/","title":{"rendered":"Info Boxes | SRCSET Errors"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I am witnessing weird behaviour with the Info Boxes block. When I run my site via W3 validator, the Info Boxes returns a series of errors<\/p>\n<p><code>Error: Bad value for attribute srcset on element [img](https:\/\/html.spec.whatwg.org\/multipage\/#the-img-element): Must contain one or more image candidate strings.<\/code><\/p>\n<p>This is a problem when I use local media library images &#8211; screenshot below.<\/p>\n<p>![Qubely Info Boxes SRCSET Error with Images Screenshot from 2022-12-01 12-31-11](https:\/\/user-images.githubusercontent.com\/32608044\/204987159-2a674057-c080-46dc-961d-3825e3719284.png)<\/p>\n<p>Any way I could avoid these validation code errors?<\/p>\n<p>Kind regards,<\/p>\n","protected":false},"template":"","class_list":["post-16250085","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16250085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16250085\/revisions"}],"predecessor-version":[{"id":16250141,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16250085\/revisions\/16250141"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16250085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}