<source srcset - being ignored (latest version)

23 views
Skip to first unread message

Jono Brain

unread,
Jul 21, 2017, 7:56:44 AM7/21/17
to mod-pagespeed-discuss
Hello

I'm running the latest version of modpagespeed (1.12.34.2-0). I'm using modpagespeed to compress images but its only working on <img src="..."> its ignoring <source srcset="...".

Any tips on how I can get this working?

<picture class="figure__media__img">
<source srcset="..." media="(min-width:700px)">
<img class="flexlist__item__media__image flexlist__item__media__image--full" alt="" data-pagespeed-url-hash="1303438222" src="..." onerror="this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);"> </picture>

Maksim Orlovich

unread,
Jul 31, 2017, 9:08:04 AM7/31/17
to mod-pagesp...@googlegroups.com
Not implement, sorry, and a little too sophisticated to do with just custom tag/attribute configuration (that can't match against a picture parent, and the srcset support only looks on <img>).

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/a3ff6c65-5af8-42bc-9461-62e46cd4b575%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages