angular-masonry icon indicating copy to clipboard operation
angular-masonry copied to clipboard

how to display default if link is broken

Open tim7004 opened this issue 9 years ago • 0 comments

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~

tim7004 avatar Jan 10 '17 07:01 tim7004