~mrls/www

a4d4755175d63e4aee640f0d6d6c68ba269738b0 — Mauro Morales a month ago e8be163
Resize images
M Rakefile => Rakefile +8 -0
@@ 23,3 23,11 @@ task :deploy do
  Rake::Task[:test].execute
  sh "rsync -avz --delete _site/* #{ENV['DEST']}"
end

desc 'Resize Images'
task :resize, [:dir] do |_task, args|
  images = Dir.glob(File.join(args[:dir], '*'))
  images.each do |image|
    sh "convert #{image} -resize 800 #{image}"
  end
end

M assets/img/san-marcos-la-laguna/adventure.jpg => assets/img/san-marcos-la-laguna/adventure.jpg +0 -0

M assets/img/san-marcos-la-laguna/dock.jpg => assets/img/san-marcos-la-laguna/dock.jpg +0 -0

M assets/img/san-marcos-la-laguna/mayan-altar.jpg => assets/img/san-marcos-la-laguna/mayan-altar.jpg +0 -0

A assets/img/san-marcos-la-laguna/out.jpg => assets/img/san-marcos-la-laguna/out.jpg +0 -0

M assets/img/san-marcos-la-laguna/passage.jpg => assets/img/san-marcos-la-laguna/passage.jpg +0 -0

M assets/img/san-marcos-la-laguna/us.jpg => assets/img/san-marcos-la-laguna/us.jpg +0 -0

M assets/img/san-marcos-la-laguna/volcano-san-pedro.jpg => assets/img/san-marcos-la-laguna/volcano-san-pedro.jpg +0 -0

M assets/img/san-marcos-la-laguna/volcanoes.jpg => assets/img/san-marcos-la-laguna/volcanoes.jpg +0 -0