Found the issue, it was caused because there wasn't defined a crop (sponsorCrop) in the Sponsor Image Cropper property (of type Image Cropper). I guess this happened because I didn't define a width when creating the Sponsor Image Cropper propery.
Which brings me to my next question, how can I define an Image Cropper property for images with variable heights.
Can you give the stacktrace of the KeynotFoundException exception? Something probably goes wrong with creating the DAMP model, but I don't really know what it is.
issue with DAMP Property Editor Value Converter
Hi,
Is there an issue with DAMP Property Editor Value Converter (version 1.2) and Umbraco 6.1.6 ?
When I try to run this code, I get a KeyNotFoundException:
This code worked fine in previous Umbraco installs.
greetings,
Anthony
Anyone an idea why this code isn't working?
I access the sponsor nodes like this:
It's returning 4 IPublishedContent objects, holding the sponsor data.
When debugging, I get a KeynotFoundException on this line:
thanks for your help,
Anthony
Found the issue, it was caused because there wasn't defined a crop (sponsorCrop) in the Sponsor Image Cropper property (of type Image Cropper). I guess this happened because I didn't define a width when creating the Sponsor Image Cropper propery.
Which brings me to my next question, how can I define an Image Cropper property for images with variable heights.
Thanks for your help,
Anthony
Hello,
Can you give the stacktrace of the KeynotFoundException exception? Something probably goes wrong with creating the DAMP model, but I don't really know what it is.
Jeroen
Hi Jeroen, our posts crossed. The issue is solved, there wheren't any crops created because the crop definition in the Image Cropper was empty.
The only problem I need to solve now are the dimensions of the sponsor logo's:
Is their a way to retain aspect ratio for images of variable heights ?
is working on a reply...