UIOMatic icon indicating copy to clipboard operation
UIOMatic copied to clipboard

Blob support

Open akeilox opened this issue 8 years ago • 4 comments

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; } ...

akeilox avatar Oct 26 '16 04:10 akeilox

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

TimGeyssens avatar Oct 26 '16 07:10 TimGeyssens

Moves to 3.0 milestone since it seems like quite a bit of work

TimGeyssens avatar Oct 28 '16 09:10 TimGeyssens

oops didn't mean to close this one

TimGeyssens avatar Oct 31 '16 20:10 TimGeyssens

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

Killerkiwi2005 avatar Jul 29 '20 20:07 Killerkiwi2005