Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stephen 204 posts 226 karma points
    Aug 29, 2011 @ 12:25
    Stephen
    0

    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

  • Rasmus Berntsen 213 posts 251 karma points c-trib
    Aug 29, 2011 @ 21:25
    Rasmus Berntsen
    0

    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. 

  • Stephen 204 posts 226 karma points
    Aug 29, 2011 @ 22:09
    Stephen
    0

    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

  • Rasmus Berntsen 213 posts 251 karma points c-trib
    Aug 30, 2011 @ 12:13
    Rasmus Berntsen
    0

    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. :)

Please Sign in or register to post replies

Write your reply to:

Draft