Different paths to the same image?

Permalink
Hi,

When I add an image to an HTML block, it gives the path:

img src="/index.php/download_file/view_inline/21/"

When I look at the image location in properties it's:

home2/mydomain/public_html/mysite/files

With the URL to File:http://mysite.com/files/1213/1726/2055/my_image.png...

Why are the paths different?

Thanks,

Andrey

 
Mnkras replied on at Permalink Best Answer Reply
Mnkras
when the file is run through /index.php/download_file/view_inline/ it checks if the user has permission to view the file, and it records statistics about it. the other link is where the file is actually located, that link does not check any permissions or track anything.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.