Thanks for attention,
I am trying to rotate image uploaded on s3 already. Here is what I implemented.
def rotate!(degrees)
self.rotation += degrees.to_i
image.reprocess!
image.save
save!
end
Problem: when I save the image after rotation it saves in the local path instead of the original s3 image path.
Aucun commentaire:
Enregistrer un commentaire