In this project, I am uploading admin submitted files to a folder which is outside of the public folder.
/web/ (the public folder)
/upload/ (uploading image to this which is at the same level as the public folder)
Now allthough I am able to uplaod using the absolute url (/www/userid/upload/
), I am unable to echo the same image using either relative or absolute url.
I have tried <img src="/www/userid/upload/photo.jpg" />
as well as <img src="../upload/photo.jpg" />
but none is working. Any hints ?