Copied to clipboard

Flag this post as spam?

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


  • Søren Kottal 711 posts 4549 karma points MVP 6x c-trib
    Apr 04, 2014 @ 10:39
    Søren Kottal
    0

    Image Cropper not working?

    I have a problem with the new Image Cropper in 7.1. When I try to define a new crop size, nothing happens. I just get the green bar in the bottom saying the datatype has been saved. But shouldn't there be a list of defined crops?

     

    When I try to use the cropper on a node, I get the upload button, but nothing happens when I use it.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 04, 2014 @ 10:48
    Jan Skovgaard
    0

    Hi Søren

    That sounds like a weird issue.

    Could you provide some more information about your install? How did you install Umbraco? Are you certain that all permissions have been set correctly?

    Make sure to double check the installation permissions and if you need some more guidance on installing check out the options here http://our.umbraco.org/documentation/installation/

    And also make sure you check out the documentation on the image cropper here

    Hope these pointers help - Looking forward to hearing from you.

    Cheers, Jan

  • Søren Kottal 711 posts 4549 karma points MVP 6x c-trib
    Apr 04, 2014 @ 10:50
    Søren Kottal
    0

    It is installed through Package Manager in VS, at first a version 7.0.4 but since then upgraded to 7.1. I upgraded through Package Manager too.

    But I will check the permissions, could be that!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 04, 2014 @ 10:51
    Jan Skovgaard
    0

    Hi Søren

    Ok, make sure to check by having a look at the documentation and also make sure to have a look in the /app_data/logs file to see if it reveals some information as well.

    It might be a nuget issue I'm afraid.

    /Jan

  • Per Ploug 865 posts 3491 karma points MVP admin
    Apr 04, 2014 @ 10:51
    Per Ploug
    1

    Make sure to clear all cache, could you post a screenshot of data type config screen ?

  • Søren Kottal 711 posts 4549 karma points MVP 6x c-trib
    Apr 04, 2014 @ 10:57
    Søren Kottal
    0

    Just cleared all cache (again).

    Heres a screenshot.

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Apr 04, 2014 @ 10:59
    Jeavon Leopold
    1

    Also what size is the image you are trying to upload. If it's above 4Mb, you will need to adjust your maximum upload size in web.config if the image is large, details on hoe to do this here.

  • Søren Kottal 711 posts 4549 karma points MVP 6x c-trib
    Apr 04, 2014 @ 11:01
    Søren Kottal
    0

    Only a few kilobytes.

    I have a lot of these in the tracelog.

    2014-04-03 15:21:37,763 [10] INFO  Umbraco.Core.ApplicationContext - [Thread 1] CurrentVersion different from configStatus: '7.1.0',''

    Probably from when I upgraded the solution. The above is the latest, so it must have gotten the version right after that.

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

    Hi Søren

    What does the version say in your web.config?

    /Jan

  • Søren Kottal 711 posts 4549 karma points MVP 6x c-trib
    Apr 04, 2014 @ 11:03
    Søren Kottal
    0

    This one?


        <add key="umbracoConfigurationStatus" value="7.1.0" />

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Apr 04, 2014 @ 11:19
    Sebastiaan Janssen
    0

    Have you done the following:

    • Fill in the crop details and hit "Save Crop" (1)
    • Save all crops defined on the datatype by hitting "Save" (2)

    enter image description here

  • Søren Kottal 2 posts 22 karma points
    Apr 04, 2014 @ 13:00
    Søren Kottal
    0

    Yup - see what I'm doing in this video

    http://screencast.com/t/uSbVyQmP

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Apr 04, 2014 @ 13:41
    Sebastiaan Janssen
    0

    Weird, you should not have the "Add new crop" button until after you click the add button (see my screenshot). Is this an upgrade? If so have you thoroughly cleared the browser cache? Any js errors?

  • Søren Kottal 711 posts 4549 karma points MVP 6x c-trib
    Apr 04, 2014 @ 14:01
    Søren Kottal
    0

    Cache cleared, no js errors. Just found this in the tracelog

    2014-04-04 13:59:53,748 [6] WARN  Umbraco.Web.Models.Mapping.PreValueDisplayResolver - [Thread 29] Could not find persisted pre-value for field crops

  • Fredrik Öberg 7 posts 47 karma points
    Apr 09, 2014 @ 11:10
    Fredrik Öberg
    0

    We had the same problem, seems that you can create a crop in Firefox so it's probably a caching issue.

    Restarted the app pool in IIS and now it work's in chrome.

     

     

  • Tri Mandir Prajapati 42 posts 60 karma points
    Dec 10, 2014 @ 11:24
    Tri Mandir Prajapati
    0

    Hello Umbraco Team,

    Everything setup in backend , crop images are generated. but when I tried to get the crop image, I don't get the cropped image I want.

    I used both method without slimsy .GetCropUrl("cropAlias:thumb") and then 

    using slimsy .GetResponsiveCropUrl("thumb"). But no cropped image return. It gives default image.

    Response will be appreciated. It is urgent.

    Thanks

    Tri Mandir.

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Dec 10, 2014 @ 12:07
    Jeavon Leopold
    0

    Sounds like maybe ImageProcessor isn't registered/installed. Try making a request for any image in your solution with a width querystring to see if it resizes to that width. e.g http://mysite.com/images/test.jpg?width=100

  • Tri Mandir Prajapati 42 posts 60 karma points
    Dec 11, 2014 @ 05:10
    Tri Mandir Prajapati
    0

    Hi Jeavon, 

    The image resizer is installed and working fine with image. This is the e.g of resized image. (mysite.com/media/1039/84120557.jpg?width=350&height=135&mode=crop&anchor=center)

    The orginal image is like this

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Dec 11, 2014 @ 09:35
    Jeavon Leopold
    0

    Ah ok, did you install ImageResizer over the top of ImageProcessor? ImageResizer will not work GetCropUrl.

  • Tri Mandir Prajapati 42 posts 60 karma points
    Dec 12, 2014 @ 09:54
    Tri Mandir Prajapati
    0

    Hi Jeavon, I do have ImageResizer in mine. So what shall I do to override the ImageResizer from the ImageProcessor? Your help will be appreciated. Thanks

    Regards

    Tri Mandir

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Dec 12, 2014 @ 10:31
    Jeavon Leopold
    0

    Hi Tri,

    You will have to remove ImageResizer completely if you want to use the GetCropUrl method. ImageProcessor is included with Umbraco v7.1+. Are you using NuGet?

    Jeavon

  • Tri Mandir Prajapati 42 posts 60 karma points
    Dec 12, 2014 @ 11:17
    Tri Mandir Prajapati
    0

    Hi Jeavon Yes, I have installed ImageResizer using nuget.

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Dec 12, 2014 @ 11:19
    Jeavon Leopold
    0

    Ah ok, remove that and if it removes correctly you should be ok. Also check that the ImageProcessor & ImageProcess.Web NuGet packages are installed.

  • Tri Mandir Prajapati 42 posts 60 karma points
    Dec 12, 2014 @ 11:25
    Tri Mandir Prajapati
    0

    Ok I will try this one then Thanks for the support. Really nice.

  • Tri Mandir Prajapati 42 posts 60 karma points
    Dec 16, 2014 @ 05:56
    Tri Mandir Prajapati
    0

    Thanks Jeavon. It worked perfectly. Thanks a lot.:)

  • Jeavon Leopold 3074 posts 13631 karma points MVP 11x admin c-trib
    Dec 16, 2014 @ 11:44
    Jeavon Leopold
    0

    You're welcome, glad it's working for you now.

Please Sign in or register to post replies

Write your reply to:

Draft