$(function() {
    $('.photoAlbumEntry a').prepOverlay({
       subtype: 'image',
       urlmatch: '/view$',
       urlreplace: '',
    });
})
