Is there a way to display images submitted by users on the displayed page? I read this page about downloading files, but the only way to send it back is with help send_file/5that doesn't seem suitable for the images displayed on the web page. I thought to move the file to a folder assets/static, but I donβt feel that this is where it belongs.
I come from the world of Django, and there was a separation between static files and uploaded content, and I was interested, and in phoenix there was a similar concept.
So how can I make an image uploaded by the user?
source
share