Skip to content

Show default image when load invalid image url #2

@ngocongcan

Description

@ngocongcan

Hi contributors,
I have used fallback attribute to identify the default image when load the image doesn't load.
<img-loader src="inivalid url" fallback="https://static.pexels.com/photos/194730/pexels-photo-194730-large.jpeg" useImg></img-loader>

However, it does not show as i'd like. Can you take a look, please ?
screen shot 2017-05-04 at 4 14 53 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions