updating make_gallery.rb to support new separate photo app

This commit is contained in:
Andrew Davidson 2016-09-26 21:16:56 -04:00
parent 3b07f884a6
commit bf2c5128d2

View file

@ -44,6 +44,7 @@ out += "gallery-date: #{Time.now.to_s}\n"
`#{mid}` `#{mid}`
full = "convert '#{image}' -filter Lanczos -sampling-factor 1x1 -unsharp 1.5x1+0.7+0.02 -quality 90 -resize 2500x2500 './#{gallery_slug}/assets/#{filename}.jpg'" full = "convert '#{image}' -filter Lanczos -sampling-factor 1x1 -unsharp 1.5x1+0.7+0.02 -quality 90 -resize 2500x2500 './#{gallery_slug}/assets/#{filename}.jpg'"
`#{full}` `#{full}`
`cp '#{image}' #{gallery_slug}/`
end end
out += "---\n" out += "---\n"