The user that runs the webserver does not have permission to access
that file, it would be a huge security hole if it could. You need to
have images in public/images.
If you’re running this under a webserver (apache or lighty), you can
configure a directory
in the file system to be available under a certain path for a given
host. Look at the docs
for your server to see how to do that.
But putting a filesystem path in an html img tag is never gonna work…
and it shouldn’t.
That would be a terrible security hole to just be able to enter any file
path into an html
tag.
b
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.