adding progress indicator
parent
017a178cde
commit
951965f502
|
@ -155,7 +155,7 @@ photo_form['photo[album_id]'] = album
|
||||||
|
|
||||||
# process
|
# process
|
||||||
files.each_with_index do |fname, idx|
|
files.each_with_index do |fname, idx|
|
||||||
puts "-> #{fname}"
|
puts "-> (#{idx + 1} / #{files.size}) #{fname}"
|
||||||
|
|
||||||
# determine picture size
|
# determine picture size
|
||||||
width, height = nil, nil
|
width, height = nil, nil
|
||||||
|
|
Reference in New Issue