Read more

Carrierwave: always limit images to a reasonable size

Dominik Schöler
February 21, 2019Software engineer at makandra GmbH

Today's cameras create huge images, some beyond 50MB. Unless you need to offer this large files, you should always shrink uploaded files to a reasonable resolution.

class ImageUploader < CarrierWave::Uploader::Base
  process resize_to_limit: [3000, 3000]
  # ...

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more
Posted by Dominik Schöler to makandra dev (2019-02-21 16:57)