With Rails I would have just written
<%= image_tag modelName.thumb_path %> to display an image from each individual record, where
thumb_path is the field in the db where I store a string such as
With Phoenix, I’ve been trying
<img src="<%= img_tag(post.thumb_path) %>"> and also just
<%= img_tag(post.thumb_path) %> but I can’t get the image to show.
I imagine I’m missing something simple, but what?