Content reference selector with direct file upload now available as package
Fredrik Eckmar
06.03.2017 11:48:00
Read the original blogpost here.
My colleague Mattias Olsson has since packaged it up and it is available for installation using Episervers NuGet feed.
How to use
You don't need to do anything. It will automatically replace all properties with UIHint.Image and UIHint.MediaFile
[UIHint(UIHint.Image)]
public virtual ContentReference MyImage { get; set; }
[UIHint(UIHint.MediaFile)]
public virtual ContentReference MyFile { get; set; }
How to install
Install NuGet package (use EPiServer Nuget)
Install-Package Geta.Epi.MediaReferenceSelector
More information
Head over to the project site for more details and the source code.
Get back if you experience any issues etc.