PolymerElements / iron-image

Image element with sizing and preloading options
https://www.webcomponents.org/element/PolymerElements/iron-image
37 stars 43 forks source link

Placeholder not rendering webp base64 #141

Open dman777 opened 5 years ago

dman777 commented 5 years ago

Description

iron-image 3.0.1 - placeholder does not display base64 image for webp format.

Expected outcome

placeholder attribute should render base64 format for webp

Actual outcome

Placeholder is not rendering

Browsers Affected

In this element:

image

The placeholder is not rendering when webp is the format for a webp image. The image, once loaded, renders with no issues. It is only with the placeholder with base64 is not rendering.

I was previously using jpg and had no issues, then I switch my app to use webp and only webp images.