diff --git a/ui/gallery.html b/ui/gallery.html index cf1400ae..677613cb 100755 --- a/ui/gallery.html +++ b/ui/gallery.html @@ -125,10 +125,9 @@ function loadImages(json){ $('.image').remove() for(var i = 0; i < images.length; i++){ - $('
') + $('
') .css({ - background : 'url('+images[i]+') no-repeat 50% black', - 'background-size': 'contain', + 'background-image': 'url('+images[i]+')' }) .click(handleClick) .appendTo(ribbon) @@ -426,7 +425,13 @@ function demoteImage(){