Closed jonatanjii closed 1 year ago
Hi we get html-validation errors for our images: There seem to be spaces missing in source and img
Below we use the following profile:
public static readonly PictureProfile PersonBlockImage = new() { SrcSetWidths = new[] { 200 }, Sizes = new[] { "100vw" }, AspectRatio = 1, CreateWebpForFormat = null, Quality = 90 };
/Jonatan
Hi. Update to latest version of Picturerenderer . I'll keep this issue open until I've updated this nuget.
v2.4.0 use latest version of PictureRenderer which have more compliant rendering.
Thanks!
Hi we get html-validation errors for our images: There seem to be spaces missing in source and img
Below we use the following profile:
public static readonly PictureProfile PersonBlockImage = new() { SrcSetWidths = new[] { 200 }, Sizes = new[] { "100vw" }, AspectRatio = 1, CreateWebpForFormat = null, Quality = 90 };
/Jonatan