I'm having a similar issue. I've upgraded an Umbraco 6.x site to 7.4.1.
The old image cropper was converted to a label property editor (I guess due to that data type / property editor no longer existing), so I removed it from the Image media type properties.
I added the 7.4.1 Image Cropper to the Image media type properties and set up the crops with the same names and dimensions (there was no Left Top option that I could see to set).
But retrieving the crop doesn't seem to work.
Interestingly I am getting the following error (not sure if it's related):
System.NotSupportedException occurred
HResult=-2146233067
Message=Specified method is not supported.
Source=Lucene.Net
StackTrace:
at Lucene.Net.Search.Query.ExtractTerms(Hashtable terms)
at Lucene.Net.Search.BooleanQuery.ExtractTerms(Hashtable terms)
at Lucene.Net.Search.BooleanQuery.ExtractTerms(Hashtable terms)
at Examine.LuceneEngine.SearchResults.DoSearch(Query query, IEnumerable`1 sortField, Int32 maxResults) in x:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\SearchResults.cs:line 85
InnerException:
Do I need to rebuild an index or something?
Update:
It appears that lucene error is happening whenever I call IPublishedContent.TypedMedia(int), and it's not causing a YSOD, so Umbraco must handle the error, so probably nothing to do with the crop retrieval.
Calling IPublishedContent.GetCropUrl(cropAlias:"Listing") is returning an image url of:
Crop Healer for Umbraco 7.3.X
Hi,
Is there going to be a release for newer Umbraco versions soon?
At the moment it doesn't work.
Thanks,
Paulius
Hi Paulius,
As far as I'm aware Crop Healer works fine with all versions of Umbraco > v7.1.8, can you please provide some more information?
Thanks,
Jeavon
There seem to be cases in v7.4.1 where the crops are not updated at all. Saving the datatype, media items and the content pages makes no difference.
You actually shouldn't need Crop Healer for v7.4 as it effectively has a live healer in a new built in Cropper Value Converter....
Crop Healer won't do any harm and I suppose you will have slightly better performance from not needing live healing.
Ah brilliant thanks. Turns out in my case, since I'm using a custom PropertyValueConverter it wasn't doing the job properly.
Oh, really? Have we used the wrong DataType then as we are getting the problem on a 7.4.3 site!?
We are using "Umbraco.ImageCropper".
I'm having a similar issue. I've upgraded an Umbraco 6.x site to 7.4.1.
The old image cropper was converted to a label property editor (I guess due to that data type / property editor no longer existing), so I removed it from the Image media type properties.
I added the 7.4.1 Image Cropper to the Image media type properties and set up the crops with the same names and dimensions (there was no Left Top option that I could see to set).
But retrieving the crop doesn't seem to work.
Interestingly I am getting the following error (not sure if it's related):
Do I need to rebuild an index or something?
Update:
It appears that lucene error is happening whenever I call IPublishedContent.TypedMedia(int), and it's not causing a YSOD, so Umbraco must handle the error, so probably nothing to do with the crop retrieval.
Calling IPublishedContent.GetCropUrl(cropAlias:"Listing") is returning an image url of:
http://localhost:59959/media/184212/listing3.jpg?mode=pad&rnd=130274502070000000
But the width / height is 425 / 282, when the "Listing" crop size is 232 / 123.
Any ideas?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.