Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

File thumbnails/icons - feature request #79

Open
benhaynes opened this issue Oct 25, 2018 · 0 comments
Open

File thumbnails/icons - feature request #79

benhaynes opened this issue Oct 25, 2018 · 0 comments
Labels

Comments

@benhaynes
Copy link
Member

From directus created by psuplat : directus/directus#2207

I have few tables that contain link to a single file within their structure. That link not necessarily has to be an image, it could be a pdf or some other type of document.

Currently when a file is selected of type other then image, the table content preview shows broken image icon, like so:
image

It is more of an aesthetics issue, rather then functionality, but it would be nice if directus detected the file type, and if it was an image show the thumbnail, but for anything else one of the following: icon representing document type, just the file extension(.pdf, .doc, .xyz) or full file name (although this might not be such a great idea if user upload files with long names).

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

No branches or pull requests

1 participant