Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
In my view file i have this:
IPublishedContent icon = meta.Favicon;
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.
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...
Write your reply to:
Image will be uploaded when post is submitted