Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Adding Href Property To PublishingWebControls:RichImageField

$
0
0

Hi All,

I have created a page layout inheriting from   artical page content type.I have included page image content field (ie PublishingWebControls:RichImageField when added ) .We need make this field as clickable so that click on this it will open new window with vidoe(Requirment:Need to provide thumb nail url for image  to open vidoe when users click on the image).

Problem:As of now this field is not clickbale.I am trying to add href as custom property to this filed by inheriting class form richimagefield but not getting anyresult.

I tried we can provide anchor tag link for label as <a href='{0}'>{1}</a>", "url", "Click Me"/> its working.

I want the same way for richimage field .Please help me in this .

SharePoint Deginer 2013 ,SP2013 for this task.

Thanks ,

veeresh G



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>