I also ran into the same problem.
In sails versions 0.12.0,
I tried to show the image from the resource folder on homepage.ejs.
Then, using the bottom img tag, it solved my problem.
<img src="/images/placeholder.png" width="30px" height="30px">
But since your ejs file is inside views / album / albums.ejs
I can suggest below may work
<img src="../images/placeholder.png" width="30px" height="30px">
But the correct approach to ejs sail pages is:
<img src="/images/placeholder.png" width="30px" height="30px">
This should also work for you.
Vishal biradar
source share