Back

Upload image to database and display it


Leslie Joe posted 1 week ago

Hello Laravel experts, please I want to try to convert uploaded image to blob format and then save it to database and retrieve image to display to the end user. Your help will surely be appreciated.

Kamil Bielak replied 1 week ago

maybe you can use

file_get_contents($image)

with base64_encode

Leslie Joe replied 1 week ago

Okay I will try that thanks Master

alicetaylor replied 2 days ago

I would like more information about this, because it is very nice., Thanks for sharing.

outlook entrar


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us