If you want to use the new cropper then you should just create an instance of the cropper in your datatypes folder in the developer section (Defining crops etc.). Once that is done you should replace the upload property on the image type in the settings section with your cropper definition.
Glad it helped - don't hesitate to ask further questions if something does not make sense. If my previous post solved your issue then please mark it as solved so others know where to look if they come across the same issue.
Ok, and when you upload an image it does not get uploaded? How do you upload it?
And how large is the image you're trying to upload? If it's more than 4MB, which is the standard maximum file size in .NET applications then you need to increase the upload limit.
Still unsure how to use the new crop
Previously you could get the crop to work on existing images but now it seems I have to upload twice to get the crop to work (7.1.1).
What is the best practice regarding the new crop function?
Hi Marcus
If you want to use the new cropper then you should just create an instance of the cropper in your datatypes folder in the developer section (Defining crops etc.). Once that is done you should replace the upload property on the image type in the settings section with your cropper definition.
Then you can read the documentation on how to fetch the images here
I hope this helps.
/Jan
Ok I get it now. Previously I made a separate crop-field for the purpose.
Hi Marcus
Glad it helped - don't hesitate to ask further questions if something does not make sense. If my previous post solved your issue then please mark it as solved so others know where to look if they come across the same issue.
Cheers, Jan
Not quite it seems. Now the uploads just disappear when I try to upload (yes emptied cache etc).
I simply replaced the Upload property with the media cropper.
Hi Marcus
That sounds odd - what version are you using? 7.1.0 or 7.1.1? And is it possible for you to share a screendump or a screenmovie showing it?
/Jan
7.1.1 directly from Nuget today.
This is my configuration.
Ok, and when you upload an image it does not get uploaded? How do you upload it?
And how large is the image you're trying to upload? If it's more than 4MB, which is the standard maximum file size in .NET applications then you need to increase the upload limit.
/Jan
I will investigate. Possibly it could be image size.
Yep size was indeed the issue. Thank you for the help.
Hi Marcus
Glad it helped - Have fun with v7 :)
Cheers, Jan
is working on a reply...