replace jQuery with $ because it's safe inside IFFE, also works in noConflict mode
better JavaScript
New option for alternative attribute, if not the current image source should be used. Maybe you want to use an HTML5 data attribute for the larger image version like 'data-img-large': .photoZoom({ attribute: 'data-img-large'})