Open Daijobou opened 4 years ago
When image load fails, it should load a placeholder image set by another optional data-attribut.
short mockup $('<img>').load(function() { ... }).bind('error', function() { // set here a placeholder });
$('<img>').load(function() { ... }).bind('error', function() { // set here a placeholder });
When image load fails, it should load a placeholder image set by another optional data-attribut.
short mockup
$('<img>').load(function() { ... }).bind('error', function() { // set here a placeholder });