I have created an new mediatype with a different crop.
When I'm trying to render it i am getting this error.
The value "Umbraco.Web.PublishedModels.Favicon" is not of type "Umbraco.Web.PublishedModels.Image" and cannot be used in this generic collection.
Parameter name: value
I have found this bug appears if you select images only in the multiple media picker settings.
Temporary workaraound:
You can copy the folder in settings > media types and set the permissions on your new folder to only accept images, then in media create a folder of the new type.
If you make the multiple media picker point to that folder then the editor can only choose files that have been uploaded to that folder which you have set to only allow images.
New Media type (image) with different crop
Hey,
I have created an new mediatype with a different crop. When I'm trying to render it i am getting this error.
In my view file i have this:
My media type looks like this:
What am I doing wrong..
I have found this bug appears if you select images only in the multiple media picker settings.
Temporary workaraound:
You can copy the folder in settings > media types and set the permissions on your new folder to only accept images, then in media create a folder of the new type.
If you make the multiple media picker point to that folder then the editor can only choose files that have been uploaded to that folder which you have set to only allow images.
is working on a reply...