I am now creating a html webpage under $HOME/public_html on a Linux server. I want to make some pictures show up in the webpage. These pictures are stored under some different directories than $HOME/public_html, e.g. $HOME/dir1, $HOME/dir2...
I write the full paths for these picture files in the webpage and change the permission for all the directories down to the files for all to read and execute, but cannot make the pictures available in the webpage browsing from outside. What am I missing?
Note: I don't want to make copies of the files to $HOME/public_html.