IMediaFileUrlRelativePath Property |
Relative path of the media file.
Namespace: Kentico.Content.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax Remarks
Generates various path types depending on the media library location:
Path | Location |
---|
~/getmedia/fileGUID/fileName.extension | Media file is located in a media library on the current site. |
http://domain.com/getmedia/fileGUID/fileName.extension | Media file is located in a media library on a different site. |
See Also