$(document).ready(function () {
    $("a[href$='.jpg'],a[href$='.png']").prettyPhoto({ theme: 'dark_rounded', social_tools: false
    });
});
