Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Qlik Launches Open Lakehouse and advanced agentic AI experience in Qlik Answers! | LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
pedrohenriqueperna
Creator III
Creator III

URL as image in a straight table not working

Hi,

 

I'm trying to display images in a table without having to use extensions. The table object clearly has some related options, but it doesn't work, it just shows the url instead of images. I've read a couple topics regarding this subject and I seem to be doing exactly as pointed, but without sucess.

 

For instance, this post, shows an example of a cat picture. I've tried adding the URL to the dimension field as he did; as a measure; the url only in the image setting field... none of them worked.

What am I doing wrong?

therealdees_0-1727804411130.png

 

 

PS: I've tried different formats as well, not only SVG as the example above. My objective is to display instagram pictures for which I have a column holding the direct media link, e.g:

https://scontent-iad3-1.cdninstagram.com/v/t51.2885-15/453891609_519342943850147_566528120705425674_...

Labels (2)
1 Solution

Accepted Solutions
pedrohenriqueperna
Creator III
Creator III
Author

Ok, for those having the same issue, I managed to "fix" this:

In the admin panel, look for the "content security policy" menu. You must add the domain for the URL you're trying to show in this section and select the content format you authorize showing up (e.g img-src).

In my case:

therealdees_0-1727809508543.png

 

View solution in original post

5 Replies
pedrohenriqueperna
Creator III
Creator III
Author

Ok, for those having the same issue, I managed to "fix" this:

In the admin panel, look for the "content security policy" menu. You must add the domain for the URL you're trying to show in this section and select the content format you authorize showing up (e.g img-src).

In my case:

therealdees_0-1727809508543.png

 

mattqlikuser
Contributor II
Contributor II

Hello,

I have run into a similar use case and also have done the same in the solution and still no luck. Any other ideas on why this might be? 

pedrohenriqueperna
Creator III
Creator III
Author

Hi, matt

Can you explain me a bit more? Did you try to add the domain to the content security? Which website are you trying to get the image from?

mattqlikuser
Contributor II
Contributor II

 

Yes, the domain was successfully added to the CSP, and I am attempting to integrate another cloud-based external service. I suspect the issue might be related to the format itself, as the URL consistently ends with "/image." Any guidance or suggestions would be greatly appreciated!

 

pedrohenriqueperna
Creator III
Creator III
Author

Are you sure you have the image url itself? Try right clicking the image and select the "open image in a new tab" option. The url shown in the url bar is the direct url to the image that you must use.

Moreover, the domain you must add in the content security is the main domain for the website hosting the image. For instance, if you load pexels.com and click on an image to open in a new tab, you'll notice the url is like this:

https://images.pexels.com/photos/29606794/pexels-photo-29606794/free-photo-of-traditional-chinese-te...

 

So the domain you should add to the content security policy is https://images.pexels.com.

 

I'm not sure what format are allowed, but I have a feeling webp images might not work.