I have found this response in 2015
https://github.com/apache/incubator-pagespeed-mod/issues/55

Basically, inlined images have their dimensions encoded in the data uri.
So the filter must be recorded to include these dimensions.
One workaround is put these image dimensions as CSS code.
Or disable image inlining.

El lun., 5 jul. 2021 14:12, GitBox <g...@apache.org> escribió:

>
> dgaastra opened a new issue #2073:
> URL: https://github.com/apache/incubator-pagespeed-mod/issues/2073
>
>
>    Dear fellow mod_pagespeed fans!
>
>    Is there anyway to undo:
>
>    _"Image resized and then inlined into HTML as Base64 data. Because the
> inlined data has the desired dimensions, width and height are no longer
> needed."_
>
>    @REF: https://www.modpagespeed.com/doc/filter-image-optimize
>
>    because Pagespeed Insights keeps complaining:
>
>    "Image elements do not have explicit width and height"
>
>    Can we add the height and width back in? Setting filter
> "insert_image_dimensions" did not work.
>
>    Thanks so kindly
>
>    Dennis
>
>
> --
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on to GitHub and use the
> URL above to go to the specific comment.
>
> To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org
>
> For queries about this service, please contact Infrastructure at:
> us...@infra.apache.org
>
>
>

Reply via email to