Skip to Content
0
Former Member
Aug 16, 2016 at 11:35 AM

Opening a Image URL inside a Pop-Up

1342 Views

Hi All,

I have the URL for an Image present in Sharepoint, I have all the access required to open the image directly using the URL.

When I create a link in my view and map it to my URL, the Image is getting opened in a new Tab.

However, my requirement is to open that image in a pop-up.

I tried creating a separate fragment, inside which i created a dialog and tried to give the Image /ImageContent control with src as the ImageURL

and on click of the Link from the View, I am opening that fragment.

but the problem is, when i open the fragment from the controller, I am unable to pass the exact image URL corresponding to that link , to the fragment.

I am unsure on how to proceed with this. If anyone has prior knowledge on this, kindly help me.

Thanks,

Preethi Nagaraj.