var src = 'img/checker.png'; canvas.setBackgroundColor({source: src, repeat: 'repeat'}, function () { canvas.renderAll(); });