Adding Href Property To PublishingWebControls:RichImageFie ld

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

  • Edited by VeereshG Monday, December 30, 2013 5:08 AM
December 30th, 2013 7:52am


In SharePoint 2010, when we add picture and hyperlink into the richimagefield in a custom article page layout, after saving and publishing this page, the picture will be clickable.

In SharePoint 2013, there is a workaround that we can add the picture first, then select this picture, insert a hyperlink into this picture, then this picture will be clickable with hyperlink.   

Best regards
Free Windows Admin Tool Kit Click here and download it now
December 31st, 2013 12:03pm

Thanks Patrick for your reply and time .I tried what ever you have mentioned its working.But i read some where we can provide hyperlink while uploading image .So that it will open in new window.some links it was mentioned there is some issue with PublishingWebControls:RichImageField with  which will render <img> tag instead of redering <image> tag becuse ot this it is not clickable even though we give hperlink url which we get option while inserting image fisrt time.i have followed those link but didnt work.Bleow is the link that i followed but i didnt get.

  • Edited by VeereshG 2 hours 26 minutes ago
January 13th, 2014 4:44am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics