UIOMatic
UIOMatic copied to clipboard
Blob support
I played with the very first UIOMatic and now starting to pick where I left after the 2.0 goodness.
In a test db, i have two tables where image is stored in base64 encoded in tableA and byte[](no need for encoding) in another (tableB).
My question is how can I render the image in the ListView for base64 or byte[] for the View section? Like when user click Tree item A, they see the listview with base64 image, Tree item B click listview shows blob/byte[] image.
I'm picking this up slowly so go easy on me;
[UIOMaticField(Name = "Picture", Description = "Select a picture", View = "file")] [UIOMaticListViewField(Name = "Picture", View = "image")] public string Picture { get; set; } ...
Hey, those views only store a path to a file, blobs are currently unsupported but I'll take a look and see if it's something we can easily add
Moves to 3.0 milestone since it seems like quite a bit of work
oops didn't mean to close this one
I've used ui-o-matic with azure blob storage by using UmbracoFileSystemProviders.Azure media files are then stored in azure instead of the local file system, this seems like a better option as you can have a file system provider that stores to a db as base64 instead