kentico_mirekr
-
11/10/2009 4:49:17 AM
RE:File path instead of URL
Hi,
Please set Display active content to True and Use secure links property to False of your media gallery web part. Then please open ~\CMSModules\MediaLibrary\Controls\LiveControls\MediaFilePreview.ascx.cs file and find line about 166 with following code:
url = MediaFileInfoProvider.GetMediaFileUrl(mfi.FileGUID, mfi.FileName); Please change this line of code to following one:
url = MediaLibraryHelper.GetMediaFileUrl(mfi.FileGUID.ToString(), si.SiteName);
I hope this will help you.
Thank you for letting us know about this issue. Regrettably, this seems to be a bug in the current version. I'm very sorry for this inconvenience. We will try fix it in the nearest version or in the next hotfix package for this particular Kentico CMS version.
Best regards, Miroslav Remias.
|