You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because it's now deprecated, we would like to move to the new recommended "derivatives" options, however, we couldn't find a way to process the original file.
Here is an example scenario. Let's say a user upload a 60MB image and we process it to our maximum accepted value i.e 5MB 2000x2000, we don't want to store this huge 60MB image, nor we will ever use it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
We currently are processing plugin using https://github.com/shrinerb/shrine/blob/master/lib/shrine/plugins/processing.rb which allows us to process the original uploaded file.
Because it's now deprecated, we would like to move to the new recommended "derivatives" options, however, we couldn't find a way to process the original file.
Here is an example scenario. Let's say a user upload a 60MB image and we process it to our maximum accepted value i.e 5MB 2000x2000, we don't want to store this huge 60MB image, nor we will ever use it.
How can this be achieved?
Beta Was this translation helpful? Give feedback.
All reactions