*** empty log message ***
authorgc <gc>
Sat, 1 Apr 2006 16:34:11 +0000 (16:34 +0000)
committergc <gc>
Sat, 1 Apr 2006 16:34:11 +0000 (16:34 +0000)
bin/booh-backend

index 30aafa72eb59911f5cc7aa6416d5da0f9c8d3e00..96cb6c67f1dcbf57297f7063ca742e89d4c5e21a 100755 (executable)
@@ -421,7 +421,7 @@ def html_reload_to_thumbnails
     html_reload_to_thumbnails.gsub!(/~~all_sizes~~/, all_images_sizes.collect { |s| "\"#{size2js(s['name'])}\"" }.join(', '))
     size_auto_chooser = '';
     all_images_sizes.sort { |a,b| b['optimizedforwidth'].to_i <=> a['optimizedforwidth'].to_i }.
-                     each { |s| size_auto_chooser += "if (w + 50 > #{s['optimizedforwidth']}) { return 'thumbnails-#{size2js(s['name'])}-1.html'; }\n" }
+                     each { |s| size_auto_chooser += "if (w + 50 > #{s['optimizedforwidth']}) { return 'thumbnails-#{size2js(s['name'])}-0.html'; }\n" }
     html_reload_to_thumbnails.gsub!(/~~size_auto_chooser~~/, size_auto_chooser)
     return html_reload_to_thumbnails
 end
@@ -1048,9 +1048,6 @@ def walk_source_dir
             if images.size > 0
                 captions4js = find_captions(xmldir, images).collect { |e| e ? '"' + e.gsub('"', '\"') + '"' : '""' }.join(', ')
                 thumbnailspage4js = image2thumbnailpage4js.collect { |e| "\"#{e}\"" }.join(', ')
-                exifs = images.collect { |i|
-                    utf8(`identify -format "%[EXIF:*]" #{fullpath}`.sub(/MakerNote.*\n/, '')),
-                }
                 for sizeobj in $images_size
                     html = $html_images.collect { |l| l.clone }
                     images4js = fullscreen_images[sizeobj['name']].collect { |e| "\"#{e}\"" }.join(', ')