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
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
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.