Tuesday, July 22, 2014

Showing Picture with hyperlink to open link in a new window

Showing Picture with hyperlink to open link in a new window


There are many ways to achieve this functionality –

Adding a Content Editor WebPart and Pasting the following code as mentioned by David Lozzi in his blog:

 

Another way is to create a Site Column of type “Image with formatting and constraints for publishing” in the root site collection. Once you have created this site column, you can add it to any existing list/ library and then at the time of adding an item you can just use this property to add a picture with hyperlink and if you set “Open in a new window” property for the newly added site column, the link will open into a new window.


No comments:

Post a Comment