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
I am using this library to crop my images dynamically with my image server. The image server allows to pass with, height or both in the url and will scale and drop the picture automatically.
However, I would like the user to be able to crop the original image via a GUI (while keeping the original image on the server) and only apply the user crop while delivering the image. So I came up with the following script. However, as soon as either the outputwidth or outputheight is defined and any of the cropresizeToBestFitresizeToWidth or resizeToHeight is applied, the crop will be overwritten instead of chained. I am not sure if this is the expected behavior (for me it's not) and how to work around this. Any ideas?
I am using this library to crop my images dynamically with my image server. The image server allows to pass with, height or both in the url and will scale and drop the picture automatically.
However, I would like the user to be able to crop the original image via a GUI (while keeping the original image on the server) and only apply the user crop while delivering the image. So I came up with the following script. However, as soon as either the
outputwidth
oroutputheight
is defined and any of thecrop
resizeToBestFit
resizeToWidth
orresizeToHeight
is applied, the crop will be overwritten instead of chained. I am not sure if this is the expected behavior (for me it's not) and how to work around this. Any ideas?The text was updated successfully, but these errors were encountered: