How to view saved photo in database?

Asked

Viewed 94 times

0

Guys, how do I view saved photos in my database? I intend to do as a gallery that has the option for the administrator to delete the photo or add a new one when you want.

  • Can you post the code you have there or how is the table where the photos are saved? It’s easier for the community to help you. :)

  • Renan, usually what is done is to save the relative path of the image in the database and with it display the image when necessary. It is possible to store the image in a database, but it is totally unadvisable for logical performance issues.

  • So what would be advisable to make the photo gallery that Adm can edit?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.