$(document).ready(function(){ $('a.photo').zoom({url: 'photo-big.jpg'}); });