<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pictures as Preimage on Linux in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pictures-as-Preimage-on-Linux/m-p/336368#M18034</link>
    <description>Hi, if the image and the HTML file are in the same directory on Linux, then, if you open the HTML file with a browser, the image should be visible in the browser. If you are NOT opening the HTML file with a browser, but with a Microsoft Application, then I don't know whether Microsoft will go "find" the IMG tag location. &lt;BR /&gt;&lt;BR /&gt;If you are sure that the HTML and the image are in the same location, the only thing I can think of is to put (URL=NONE) after your path= option&lt;BR /&gt;path="&amp;amp;fpath" (url=none); and see if that makes a difference.&lt;BR /&gt;&lt;BR /&gt;You might need to open a track with Tech Support on this one. The image is NOT embedded in the HTML file, but is drawn in by the browser when you open the file in the Linux file location. I don't know why the EG output opens OK. Typically, when you use ODS HTML inside EG you get 2 result window tabs -- one for the default SASReport output and one for the ODS HTML output. Which one are you opening? The SASReport output or the ODS HTML output?&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
    <pubDate>Mon, 27 Feb 2017 22:40:47 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-02-27T22:40:47Z</dc:date>
    <item>
      <title>Pictures as Preimage on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pictures-as-Preimage-on-Linux/m-p/336338#M18033</link>
      <description>&lt;P&gt;I am trying to create an HTML doc and/or XLSx doc with ODS and cannot seem to get image to show up on Linux server.&lt;/P&gt;&lt;P&gt;Shows up fine in EG&lt;/P&gt;&lt;P&gt;Here is code&lt;/P&gt;&lt;P&gt;ods results on;&lt;BR /&gt;ods escapechar='~';&lt;/P&gt;&lt;P&gt;%LET FPATH=/sas/data/Comm_Bank/users/sadofmi/output/;&lt;BR /&gt;%let pict=KeyLogo.png; &amp;nbsp;*** this is valid and small picture**;&lt;/P&gt;&lt;P&gt;ods html file="testp.html" path="&amp;amp;fpath.";&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;BR /&gt;title j=l h=2 '~S={preimage="&amp;amp;fpath.&amp;amp;pict"} Class Help Data Set';&lt;BR /&gt;run;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like HTML gets created properly: as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;img alt="" src="/sas/data/Comm_Bank/users/sadofmi/output/KeyLogo.png"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas will be appreciated&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 20:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pictures-as-Preimage-on-Linux/m-p/336338#M18033</guid>
      <dc:creator>mgsadof</dc:creator>
      <dc:date>2017-02-27T20:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pictures as Preimage on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pictures-as-Preimage-on-Linux/m-p/336368#M18034</link>
      <description>Hi, if the image and the HTML file are in the same directory on Linux, then, if you open the HTML file with a browser, the image should be visible in the browser. If you are NOT opening the HTML file with a browser, but with a Microsoft Application, then I don't know whether Microsoft will go "find" the IMG tag location. &lt;BR /&gt;&lt;BR /&gt;If you are sure that the HTML and the image are in the same location, the only thing I can think of is to put (URL=NONE) after your path= option&lt;BR /&gt;path="&amp;amp;fpath" (url=none); and see if that makes a difference.&lt;BR /&gt;&lt;BR /&gt;You might need to open a track with Tech Support on this one. The image is NOT embedded in the HTML file, but is drawn in by the browser when you open the file in the Linux file location. I don't know why the EG output opens OK. Typically, when you use ODS HTML inside EG you get 2 result window tabs -- one for the default SASReport output and one for the ODS HTML output. Which one are you opening? The SASReport output or the ODS HTML output?&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 27 Feb 2017 22:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pictures-as-Preimage-on-Linux/m-p/336368#M18034</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-02-27T22:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pictures as Preimage on Linux</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pictures-as-Preimage-on-Linux/m-p/336380#M18035</link>
      <description>&lt;P&gt;It works in EG because the application scans the HTML, finds all of the referenced images, downloads the images, and fixes the HTML IMG source tags to find them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For other environments, you'll have to do as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;says: change the ODS HTML statements to set the image path and the relative reference using the URL= suboption. &amp;nbsp;Then as long as you keep the HTML and image file together in the same relative path, your browser apps should find both.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 23:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Pictures-as-Preimage-on-Linux/m-p/336380#M18035</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-02-27T23:23:03Z</dc:date>
    </item>
  </channel>
</rss>

