Copied to clipboard

Flag this post as spam?

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


  • Marcus Maunula 229 posts 386 karma points
    Apr 22, 2014 @ 15:36
    Marcus Maunula
    0

    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?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 22, 2014 @ 15:41
    Jan Skovgaard
    0

    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

  • Marcus Maunula 229 posts 386 karma points
    Apr 22, 2014 @ 15:42
    Marcus Maunula
    0

    Ok I get it now. Previously I made a separate crop-field for the purpose.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 22, 2014 @ 15:46
    Jan Skovgaard
    0

    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

  • Marcus Maunula 229 posts 386 karma points
    Apr 22, 2014 @ 15:53
    Marcus Maunula
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 22, 2014 @ 15:56
    Jan Skovgaard
    0

    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

  • Marcus Maunula 229 posts 386 karma points
    Apr 22, 2014 @ 16:04
    Marcus Maunula
    0

    7.1.1 directly from Nuget today.

  • Marcus Maunula 229 posts 386 karma points
    Apr 22, 2014 @ 16:06
    Marcus Maunula
    0

    enter image description here

    This is my configuration.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 22, 2014 @ 16:08
    Jan Skovgaard
    100

    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

  • Marcus Maunula 229 posts 386 karma points
    Apr 22, 2014 @ 16:11
    Marcus Maunula
    0

    I will investigate. Possibly it could be image size.

  • Marcus Maunula 229 posts 386 karma points
    Apr 22, 2014 @ 16:17
    Marcus Maunula
    0

    Yep size was indeed the issue. Thank you for the help.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 22, 2014 @ 16:20
    Jan Skovgaard
    0

    Hi Marcus

    Glad it helped - Have fun with v7 :)

    Cheers, Jan

Please Sign in or register to post replies

Write your reply to:

Draft