How do I display images from a random folder on the file system?

#1

Amber CLI (amberframework.org) - v0.11.3

I am trying to implement a file store but I am not sure how to display the images I have uploaded and saved in a view. The images are saved to “…/images” so they do not get saved in the application folder.

0 Likes

#2

In other words… Is there a better way to do this?

base64 =“data:image/png;base64,#{Base64.encode(content)}”

0 Likes