B4J Question [BANanoVuetifyAD3] how to using Data Table with avatar / image using MySQL PHP

syerif

Active Member
Licensed User
Longtime User
Hi,

I dont understand how to use datatable with banano datasource in MySQL PHP to showing avatar/ image inside datatable


Thanks
 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
In the bvad3 kitchen sink run a topic search for file input and then for table.

The file input will show you how to upload an image to the assets folder and retrieve its URL. The tables examples has one that shows avatars loaded from a list. That list can be records from a table.

It would be awesome to see an example code of what you have tried to do. Don't you want to attach an example project of your attempt perhaps?

Also there is an example here done by StarDust of how to save the image contents to a field in a database table.

Whilst the 'low code' example for 'resources' also is a perfect answer, it follows the saving of a URL approach to reference images.

So im not sure whether you want to store the actual image to a field or just store a location reference to an uploaded image


PS: In the kitchen sink: Avatars in table..

1657282032026.png


File Input..

1657282092727.png
 
Last edited:
Upvote 0
Top