so I found that my problem was using Physical path medias folder - media path that is not relative to site root.
I saw that the images saved with null value in the cmsmedia table
and I guess it also related to the fact the the path is not relative to the site url.
anyway it is not only view problem.
I didn't find solution for using Physical path medias,
so I just changed to virtual folder named media that pointing my Physical media folder
and this virtual folder is relative to the site root.
in the FileSystemProviders.config I defined it like this:
<add key="virtualRoot" value="~/media/" />
In this way everything works perfectly ,
the images saved with valid relative path value in the cmsMedia.
and display both in backend and frontend .
It seems that this umbraco version don't know how to handle media
path that not relative to the site root -
anyway I didnt find solution for this point.
I think umbraco has to support that option,
it is part of the documentation so maybe I missed some definition.
GetBigThumbnail returning "file is outside this filesystem's root"
Hey there,
We have an Umbraco application in a virtual directory and we've recently upgraded it from 7.14.0 to 7.15.4.
After the upgrade, all thumbnails in umbraco (nodes' props and media dialogs) started to be fetched from
which returns a 500 stating that "'/media/1001/imageName.jpg' is outside this filesystem's root" and so no images are displayed.
However, if I change the originalImagePath querystring to %2F{myumbracoin_vDir}%2Fmedia%2F1001%2FimageName.jpg, the image is returned.
The media itself and the website's frontend show all the images with no issues.
Has anyone ever came across this issue? Is it an issue or is it some umbraco-inside-a-virtual-directory configuration that I'm missing?
Thanks, Pedro
bump
anyone? :)
re-bump :'(
anyone? :)
did you find a solution for this problem ? I am in version 7.15.5 and facing the same problem
so I found that my problem was using Physical path medias folder - media path that is not relative to site root. I saw that the images saved with null value in the cmsmedia table and I guess it also related to the fact the the path is not relative to the site url. anyway it is not only view problem. I didn't find solution for using Physical path medias, so I just changed to virtual folder named media that pointing my Physical media folder and this virtual folder is relative to the site root. in the FileSystemProviders.config I defined it like this:
<add key="virtualRoot" value="~/media/" />
In this way everything works perfectly , the images saved with valid relative path value in the cmsMedia. and display both in backend and frontend . It seems that this umbraco version don't know how to handle media path that not relative to the site root - anyway I didnt find solution for this point. I think umbraco has to support that option, it is part of the documentation so maybe I missed some definition.I ended up reverting the upgrade. I have not found a solution for this issue :\
is working on a reply...