Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blob support #64

Open
akeilox opened this issue Oct 26, 2016 · 4 comments
Open

Blob support #64

akeilox opened this issue Oct 26, 2016 · 4 comments
Milestone

Comments

@akeilox
Copy link

akeilox commented Oct 26, 2016

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

@TimGeyssens
Copy link
Owner

TimGeyssens commented Oct 26, 2016

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 TimGeyssens changed the title Question: How to go about custom listview image view Blob support Oct 26, 2016
@TimGeyssens TimGeyssens added this to the 3.0 milestone Oct 27, 2016
@TimGeyssens
Copy link
Owner

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

@TimGeyssens
Copy link
Owner

oops didn't mean to close this one

@TimGeyssens TimGeyssens reopened this Oct 31, 2016
@TimGeyssens TimGeyssens changed the title Blob support Blob support update Oct 31, 2016
@TimGeyssens TimGeyssens changed the title Blob support update Blob support Oct 31, 2016
@Killerkiwi2005
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants