BookmarkSubscribeRSS Feed
dipand
Quartz | Level 8
Hello everybody,
I followed this url: https: //communities.sas.com/t5/SAS-Communities-Library/How-to-Load-Images-in-SAS-Viya-3-5/ta-p/612283 for loading the images on the CAS.
My goal is to be able to see the images on a report in SAS Visual Analytics, but when I use the dataset information I don't see the image but an error message. I have the following dataset:

dipand_0-1627033244167.png

 

I tried to insert a url 

dipand_1-1627033402654.png

 

to the image path but I get an error message and I can't see the image. Can someone help me?
Thank you
 

 

 
7 REPLIES 7
Sam_SAS
SAS Employee

In a VA report, you can use the Image object to display images:

https://go.documentation.sas.com/doc/en/vacdc/8.5/vaobj/p1mj4hc3ku7mg6n1uptzk62scwbm.htm

 

Have you tried displaying the image that way?

 

It is possible to create URL link actions using paths in a data table. However, I believe that the paths must be full URL links (http://www.sas.com/image.png) rather than relative paths (/image.png)

dipand
Quartz | Level 8

Could you help me understand how to create absolute paths in SAS?

Sam_SAS
SAS Employee
I'm not really familiar with the method you are using to import images. If you have a small number of images and you don't need to load them programmatically, you can just import them using the Options pane for the image object in VA.
dipand
Quartz | Level 8
I have many images a day that need to be uploaded automatically
 
dipand_0-1627050388036.png

 

 
 
 
 
 
Sam_SAS
SAS Employee
If you haven't done so yet, please contact SAS Technical Support and see if they can help you find a solution.

Thanks,
Sam
Madelyn_SAS
SAS Super FREQ

I don't know which version you have, but could you use a bunch of Web Content Objects. 

 

Madelyn_SAS_0-1627054568676.png

 

Web Content Object 

dipand
Quartz | Level 8
The user wants to view a series of images by clicking on the single record of the table. To do this I understood some test images on a github path, so it works but the problem is that the folder on github must be public and this may not please the customer for security reasons. 
Any suggestions?


dipand_0-1627281763659.png

 




 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 7 replies
  • 2167 views
  • 7 likes
  • 3 in conversation