specifying the fullscreenn images for remotes is still too costly, it visibly delays...
[booh] / bin / booh-backend
index 99ae100c04c5fab7cdb011c59783ddc4fe65e812..423d116ead50565dd9c85ecc793b06cfb46c0687 100644 (file)
@@ -1275,7 +1275,7 @@ def walk_source_dir
                 for sizeobj in $images_size
                     html = $html_images.collect { |l| l.clone }
                     images4js = fullscreen_images[sizeobj['name']].collect { |e| "\"#{e}\"" }.join(', ')
-                    hiddenimages4remotes = '<span style="display:none">' + fullscreen_images[sizeobj['name']][0..4].collect { |e| "<img src=\"#{e}\"/>" }.join('') + '</span>'
+                    hiddenimages4remotes = '<span style="display:none">' + thumbnail_images[sizeobj['name']][0..4].collect { |e| "<img src=\"#{e}\"/>" }.join('') + '</span>'
                     otherimages4js = ''
                     othersizes = []
                     for sizeobj2 in all_images_sizes