diff --git a/public/js/app.js b/public/js/app.js index 568a13d..a063edf 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -92,7 +92,7 @@ function showImage(id) if (typeof(point.images) == 'object') { point.images.forEach(function(entry) { - if (window.devicePixelRatio > 1) { + if (true || window.devicePixelRatio > 1) { photos.push({img: '/photos/big/'+entry, thumb: '/photos/small/'+entry}); } else { photos.push({img: '/photos/middle/'+entry, thumb: '/photos/small/'+entry}); @@ -487,12 +487,15 @@ function initFotorama(selector, data){ $(selector).fotorama({ data: data, width: width, - height: height + height: height, + allowfullscreen: true, + startindex: 0 }); } else { $(selector).fotorama({ width: width, - height: height + height: height, + startindex: 0 }); } }