I have created a crop tab in my media section which is working, however i would expect that when i save the crops the cropped images apear in the media folder, which is this not the case? If i browse to the meda folder they are there but how is my client supposed to select then?
The Image Cropper doesn't save a new file in the Media-section, it bascially just creates the crop and associates it with the selected image. You could test if there's an associated crop with a given image and select the cropped image, if there is. So basically the customer selects the "non-cropped" image from the media section and your code returns the cropped image instead. That would be one way to solve it.
ah i see how it works now, so that being the case how do i ensure that the client crops the image when they upload something new? right now i have a tab that allows them to crop an uploaded image but how do i ensure the do it..
I haven't got access to an Umbraco installation from this desktop at the moment, but you could try to check the "Mandatory" option on the settings for the Image Cropper datatype on the Document Type. Hopefully that will do the trick. :)
Where are the cropped images
I have created a crop tab in my media section which is working, however i would expect that when i save the crops the cropped images apear in the media folder, which is this not the case? If i browse to the meda folder they are there but how is my client supposed to select then?
S
The Image Cropper doesn't save a new file in the Media-section, it bascially just creates the crop and associates it with the selected image. You could test if there's an associated crop with a given image and select the cropped image, if there is. So basically the customer selects the "non-cropped" image from the media section and your code returns the cropped image instead. That would be one way to solve it.
ah i see how it works now, so that being the case how do i ensure that the client crops the image when they upload something new? right now i have a tab that allows them to crop an uploaded image but how do i ensure the do it..
Stephen
I haven't got access to an Umbraco installation from this desktop at the moment, but you could try to check the "Mandatory" option on the settings for the Image Cropper datatype on the Document Type. Hopefully that will do the trick. :)
is working on a reply...