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
Is it possible to crop a conversion while preserving the original?
My users upload their image and the initial conversion is done via the registerMediaConversions method on my model. I now have an edit image page where users can crop an image (cropper.js) which passes coordinates and dimensions to a controller. What I want to do is to overwrite the initial conversion with this new manually cropped version.
I have tried very hard to understand how to do this prior to posting here. I am starting to think I am missing something fundamental and maybe what I am trying to do is not possible. Any help/direction very much appreciated.
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi There,
Is it possible to crop a conversion while preserving the original?
My users upload their image and the initial conversion is done via the registerMediaConversions method on my model. I now have an edit image page where users can crop an image (cropper.js) which passes coordinates and dimensions to a controller. What I want to do is to overwrite the initial conversion with this new manually cropped version.
I have tried very hard to understand how to do this prior to posting here. I am starting to think I am missing something fundamental and maybe what I am trying to do is not possible. Any help/direction very much appreciated.
Thanks,
:+)
Beta Was this translation helpful? Give feedback.
All reactions