class ImageUploader<CarrierWave :: Uploader :: Base
  include CarrierWave :: MiniMagick
  process resize_to_limit: [400, 400]

This is a resizing of the image for posting. How can I branch the condition if I want to resize the profile image?

Thanks for your professor.

  • Answer # 1

    In addition to

    : image,: picture and column were added, and PictureUploader was created and the size was changed individually.