for example:
On the console use the model
prod=Product.find(:all)
prod.each do | p|
p.create_or_update_thumbnail(RAILS_ROOT +'/public'+p.public_filename,:thumb,'300x300')
end
That is it will redo your thumbnail, of cource you can use it as you want. Enjoy!
No hay comentarios:
Publicar un comentario