$(document).ready(function () {

  $('#gallery .picture-box a').fancybox({'titlePosition': 'inside'});
  
});
