Basically what the title says my code looks like this:
<%= file_input f, :avatar, class: "form-control" %>
and in my schema I am doing this
|> cast_attachments(attrs, [:avatar])
I am using arc, should I only save the :thumb version of the picture? seems like having pictures with very high resolutions are causing some weird errors
Why not just
:original versions (or whatever you name) it as well to a capped maximum size?
yeah I tried to use :thumb and follow the documentation but didnt really seems to work, or you mean to just keep the original but somehow shrink that down?
The transform can run on any grouping, not just thumb, so you can transform the original itself to a max size (or some ‘screen’ group or something that resizes down if necessary).