Opening a image located outside the public folder


Can anyone help me on how to open an image on the browser NOT located
in the public folder. I am using the tag, but the image doesn’t
opens because it’s outside the public folder.



Do you have Apache as a frontend? then use alias and a directory
element to point apache away from the public directory.

Or use a symlink

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs