BookmarkSubscribeRSS Feed
gzr2mz39
Quartz | Level 8
I'm using ODS HTML to output a plot created by gplot.
What SAS code can I use to change the path of the img src (eg png image file) in the html file that is outputted?
2 REPLIES 2
deleted_user
Not applicable
ods html
path="C:/Public/graph" (url=none) /* HTML output directory */
body="webgif1.htm" /* HTML filename */
gpath="C:/Public/graph/images"; /* graphics output file location */

See the following documentation link for more information

http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#/documentation/cd...

-Art
gzr2mz39
Quartz | Level 8
I think I stated my question incorrectly.
base= with the ods html does what I want.
base= allows me to change the path of the image file in the html source code.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1536 views
  • 0 likes
  • 2 in conversation