nocodb
nocodb copied to clipboard
Feature Request: If column value is HTTP, try show an preview of it. This can be image / website.
Hi,
we currently have a Postgres DB that stores let's say a product image as a plain URL in a text column. NocoDB stores attachments in a JSON array (with url, mimetype and size), so our images are not displayed nor can be used for the gallery view.
Is there any way to support that kind of image definition or do we have to migrate all the URLs to your JSON format?
Are the size and mime type parameters important or could we potentially leave them out?
Cheers!
mime is not so important but it's using to show the thumbnail based on file type
@o1lab has this issue been resolved or is it not important?
hey @flobaader : making images/files support multiple internal formats (read json) is not something that we would like to do.
Having said that, I rethought about this - we can do something like this.
If there is an HTTP url within text, we can fetch preview of it. That should be good.
Thanks for the checking back, I will edit the title of the issue.
Sounds nice, thank you for the effort! It would be especially cool if this would support different kinds of images like svgs, pngs and so on.
Any news on the img preview ?
This would be really great to generate thumb's on the fly from hard links to jpg/mp4 +1
Any updates on when this would be available ?
@o1lab Is this issue still up?
If you mean, you wanted to pick this up ? Pls look at others as this can involve lot of changes and not our top priority at the moment
If you mean, you wanted to pick this up ? Pls look at others as this can involve lot of changes and not our top priority at the moment
Okay noted.
Can I work on this? @o1lab ~If I'm right, I should update the urlUtils~ Nvm got it