I am uploading images to s3 using fog and carrierwave. I am using the below code for profile picture:
version :listpic do
     process :resize_to_fill_modfied => [100, 100] 
   end
    version :usershow do
     process :resize_to_fill_modfied => [225, 225] #user profile pic kullanılıyor
   end
   def resize_to_fill_modfied(width, height, gravity=::Magick::CenterGravity)
      manipulate! do |img|
        img.crop_resized!(width, height, gravity) unless (img.columns <= width && img.rows <= height)
        img = yield(img) if block_given?
        img
      end
    end
The problem is, when I try to upload an image 193x193 it rotates to 90 degrees to left. Why is that?
EDIT
When I try to upload 250x250 it again rotates.