Picture link is seen in different tab | XM Community
Skip to main content
Hi all,



Following my questions in a different post before https://www.qualtrics.com/community/discussion/5632/document-link-is-seen-in-different-tab#latest

I would like to ask apart from a document link, I also have pictures that I attach in the question. Would it be possible to put the pictures to be seen in a different tab or different page of the survey link?

Here is the code that I have for pictures as I did it using lightbox as well.

`<a data-lightbox="Your picture link" data-title="Your text data to click on the picture" href="Your picture link"><img height="100" src="Your picture link" width="100" />Your text data to click on the picture</a>`



I tried adding the code that @Bhushan mentioned in the previous post:



` <a href="Your Link" target="_blank">Your text to click on the link</a>`



But it seems that they hide my picture and only put the document link.

Is it possible to put the pictures to be shown on different page or tab of the survey link?



Thank you,

Best,

Sherly
Hi @Sherly,



I have reviewed your code and it should work fine too. I am assuming images have already been uploaded in Qualtrics file library as jpg or png.



Thanks,

Bhushan
Hi @Bhushan. Yes. I uploaded in my library as jpg:

Here is my code:



`<a data-lightbox="https://uclpharmacy.eu.qualtrics.com/CP/Graphic.php?IM=IM_0NAhwy7qZ6NAYmx" data-title="Cluster 1. Expert Professional Practice (EPP)" href="https://uclpharmacy.eu.qualtrics.com/CP/Graphic.php?IM=IM_0NAhwy7qZ6NAYmx"><img height="100" src="https://uclpharmacy.eu.qualtrics.com/CP/Graphic.php?IM=IM_0NAhwy7qZ6NAYmx" width="100" target="_blank"/>Cluster 1. Expert Professional Practice (EPP)</a>`



I added `target="_blank"` after the width. but it did not come up as different tab. Is that because I use lightbox?



Thank you,

Best,

Sherly
Hi @Sherly,



Can you save the image as jpg or png. I am assuming the php extension is creating issue.



Thanks,

Bhushan
Hi Bhushan, I checked the type of picture in the library. It is basically in jpg format. I attach the screenshot. !

Leave a Reply