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.
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.
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.
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?
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
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)
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
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?
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.
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
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!
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
Make sure to clear all cache, could you post a screenshot of data type config screen ?
Just cleared all cache (again).
Heres a screenshot.
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.
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.
Hi Søren
What does the version say in your web.config?
/Jan
This one?
<add key="umbracoConfigurationStatus" value="7.1.0" />
Have you done the following:
Yup - see what I'm doing in this video
http://screencast.com/t/uSbVyQmP
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?
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
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.
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.
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
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
Ah ok, did you install ImageResizer over the top of ImageProcessor? ImageResizer will not work GetCropUrl.
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
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
Hi Jeavon Yes, I have installed ImageResizer using nuget.
Ah ok, remove that and if it removes correctly you should be ok. Also check that the ImageProcessor & ImageProcess.Web NuGet packages are installed.
Ok I will try this one then Thanks for the support. Really nice.
Thanks Jeavon. It worked perfectly. Thanks a lot.:)
You're welcome, glad it's working for you now.
is working on a reply...