Collections is a custom document type which has a field CollectionTeaserImage with attribute type file. On the collection details page I am able to show image using code src='GetFileUrl("CollectionTeaserImage")'
. I want to add fancybox effect onclick of this image. If I add the same image path code to <a href="GetFileUrl("CollectionTeaserImage")">
, a popup opens with garbage data. If I add <a href="<%# GetAbsoluteUrl(Eval<string>("CollectionTeaserImage")) %>">
a popup opend with message 'The requested content cannot be loaded. Please try again later.'
Please advice