simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.17k stars 223 forks source link

remove binary #107

Open rapsli opened 8 years ago

rapsli commented 8 years ago

Uploading a binary works like a charm. Two inputs:

  1. Unfortunately it's not possible to delete a binary once uploaded
  2. In my usecase I upload images, displaying them in the list view just shows some characters, but not an image. Looking at the record renders an image.

Great work!

simov commented 8 years ago

You can display binary fields inside the listview using this code snippet. Take a look at the custom.json file in that repo on how to include it.

As for deleting the binary, you might be right. I can't remember exactly, but lastly the binary field support was kind of experimental.