Skip to content
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.

how to display default if link is broken #182

Open
tim7004 opened this issue Jan 10, 2017 · 0 comments
Open

how to display default if link is broken #182

tim7004 opened this issue Jan 10, 2017 · 0 comments

Comments

@tim7004
Copy link

tim7004 commented Jan 10, 2017

Dear All,
I am using the example code:

<div masonry>
    <div class="masonry-brick" ng-repeat="brick in bricks">
        <img ng-src="{{ brick.src }}" default-link-if-error="{{brick.defaultsrc}}" alt="A masonry brick">
    </div>
</div>

how to display default image if link is broken?

Thank you~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant