Back

Upload image to database and display it


Leslie Joe posted 4 months 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 4 months ago

maybe you can use

file_get_contents($image)

with base64_encode

Leslie Joe replied 4 months ago

Okay I will try that thanks Master

alicetaylor replied 4 months 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