Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I am creating links to files using @Umbraco.Media(Model.MacroParameters["field"]).Url
When the media item is an image, the link works.
When the media item is a pdf file, I get an error - Error loading Partial View script
Thanks a lot!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Creating link to file using Umbraco.Media .Url - works for image but fails for pdf
Hi,
I am creating links to files using @Umbraco.Media(Model.MacroParameters["field"]).Url
When the media item is an image, the link works.
When the media item is a pdf file, I get an error - Error loading Partial View script
Thanks a lot!
is working on a reply...