SharePoint Hyperlink or Image

Scott Lassiter asked on January 29, 2016 22:11

I have a SharePoint list that I have imported into a Kentico page using the SharePoint Data Viewer and a Repeater with a transition. I am trying to get an image to show from a Hyperlink/Image field. I am using the following markup to grab the image URL in the field: <%# GetSharePointImageUrl("Image") %>. The image is from an image library on the same SharePoint site.

Recent Answers

Virgil Carroll answered on February 1, 2016 21:54


Have you reflecting on the call with something like Developer Tools? Are you getting the URL to show in the repeater and just not seeing the image, or are you not getting the URL to resolve in the first place?

The reason I ask is if its the former then I would believe this could be some kind of security issue where you are able to get the link but the image is being blocked from being loaded OR the way the image is being stored, you may need to do some adjustments to the URL to get it to show up correctly on an external site.

If its the latter, then I would try pulling another field from that list or another list and see if you get the same behavior, then either your component is having a problem the way its configured or there is something wonky with permissions.

0 votesVote for this answer Mark as a Correct answer

Dominik angelina answered on February 21, 2016 06:43

hi Scott, i faced same problem as like you, its really weird. i succeed with Long Path Tool, you can try it, hope you will get help

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.