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.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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
  • 1355 views
  • 0 likes
  • 2 in conversation