Skip to content

Reprocessing images

Luiz Picolo edited this page Jun 10, 2016 · 2 revisions

Reprocessing imagem is very simple

Enter in your project rails console and execute

RailsAdminContentBuilder::ContentBuilderImage.all.each do |c|
  puts "Image #{c.image} in process..."  
  c.image.recreate_versions! if c.present?
  puts "Image #{c.image} processed..."
end  

Very simple :D

Clone this wiki locally