<?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 Reporting: Display .gif file outside EG 4.1 environment in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reporting-Display-gif-file-outside-EG-4-1-environment/m-p/4309#M1361</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
In EG 4.1 I have created a histogram using Summary statistics.&lt;BR /&gt;
&lt;BR /&gt;
Then I use ods htmlpanel to save the output to a file location on the&lt;BR /&gt;
server.&lt;BR /&gt;
&lt;BR /&gt;
Rest of the reports can be viewed opening the html file outside the EG&lt;BR /&gt;
environment.&lt;BR /&gt;
&lt;BR /&gt;
But Histogram greated being a .gif image is not openning.&lt;BR /&gt;
&lt;BR /&gt;
How can I deal with this.&lt;BR /&gt;
&lt;BR /&gt;
Note the hiostogram is visible in EG environment.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Nachiket</description>
    <pubDate>Fri, 24 Aug 2007 07:45:51 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-08-24T07:45:51Z</dc:date>
    <item>
      <title>Reporting: Display .gif file outside EG 4.1 environment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reporting-Display-gif-file-outside-EG-4-1-environment/m-p/4309#M1361</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
In EG 4.1 I have created a histogram using Summary statistics.&lt;BR /&gt;
&lt;BR /&gt;
Then I use ods htmlpanel to save the output to a file location on the&lt;BR /&gt;
server.&lt;BR /&gt;
&lt;BR /&gt;
Rest of the reports can be viewed opening the html file outside the EG&lt;BR /&gt;
environment.&lt;BR /&gt;
&lt;BR /&gt;
But Histogram greated being a .gif image is not openning.&lt;BR /&gt;
&lt;BR /&gt;
How can I deal with this.&lt;BR /&gt;
&lt;BR /&gt;
Note the hiostogram is visible in EG environment.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Nachiket</description>
      <pubDate>Fri, 24 Aug 2007 07:45:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reporting-Display-gif-file-outside-EG-4-1-environment/m-p/4309#M1361</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-08-24T07:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting: Display .gif file outside EG 4.1 environment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reporting-Display-gif-file-outside-EG-4-1-environment/m-p/4310#M1362</link>
      <description>Hi:&lt;BR /&gt;
  Any HTML-based tagset is just using an &amp;lt;IMG&amp;gt; to point to the location of the graphics file that you created. Therefore, -inside- EG, EG knows where the location of the image is (generally in a &lt;B&gt;working directory&lt;/B&gt;). This means that your HTML files will be up on the server someplace and your GIF images will be someplace in C:\Documents and Settings or in an EG working location. And this is all OK -inside- EG.&lt;BR /&gt;
&lt;BR /&gt;
However, for -outside- of the EG environment, you have to be sure that you put the GIF images on the server with the HTML files -- otherwise, you will see a red X in the output where the images should be, as described in this Tech Support Note:&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/unotes/SN/012/012119.html" target="_blank"&gt;http://support.sas.com/techsup/unotes/SN/012/012119.html&lt;/A&gt;&lt;BR /&gt;
  &lt;BR /&gt;
If you open your HTML file with a web browser (NOT through EG), then select View --&amp;gt; Source (which should pop open a Notepad window, so you can review the underlying HTML code) and then, search for the string SRC=, you should see the WRONG URL as the value for SRC=. You need to 1) put the images in the right directory on the server and 2) get ODS to build the correct SRC= attribute for the &amp;lt;IMG&amp;gt; tag.&lt;BR /&gt;
 &lt;BR /&gt;
The fix is to explicitly provide a PATH:&lt;BR /&gt;
[pre]&lt;BR /&gt;
      ods html file="file.html" path="q:\reptdir" (url=none);&lt;BR /&gt;
      ods htmlpanel file="file.html" path="q:\reptdir" (url=none);&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Just note that this syntax will cause the HTML file(s) and the graphic images created in your steps to be put in the SAME directory (q:\reptdir). The URL=NONE suboption tells ODS not to use any part of the physical path when it builds the URL for the  &amp;lt;IMG&amp;gt; tag.&lt;BR /&gt;
 &lt;BR /&gt;
If your server folks want the graphic images to be in a subdirectory that's underneath q:\reptdir then you may need to use the GPATH option as well:&lt;BR /&gt;
[pre]&lt;BR /&gt;
     ods html file="file.html" path="q:\reptdir" (url=none)&lt;BR /&gt;
                              gpath="q:\reptdir\graphs" (url="\graphs");&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
Now, your TABULAR results would be put in q:\reptdir on the server, but the graphic images would be put into q:\reptdir\graphs and the IMG tag would be a "relative" URL:&lt;BR /&gt;
[pre]&lt;BR /&gt;
&amp;lt;IMG SRC="\graphs\GCHART1.gif" /&amp;gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
If your server machine is a web server machine, then you may need to use an absolute URL for any internal URLs that ODS builds. You may need to consult with your webmaster because q:\reptdir may be the physical location that you write to, but the URL for that physical location may be something like: &lt;B&gt;http://www.wombat.com/main/reptdir&lt;/B&gt;. In which case, your webmaster may prefer that you use an absolute URL&lt;BR /&gt;
[pre]&lt;BR /&gt;
&amp;lt;IMG SRC="http://www.wombat.com/main/reptdir/graphs/GCHART1.gif" /&amp;gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Which you can create like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
      ods html file="file.html" path="q:\reptdir" (url=none)&lt;BR /&gt;
            gpath="q:\reptdir\graphs"  (url="http://www.wombat.com/main/reptdir/graphs/");&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
At any rate, you might have to go through a bit of trial and error until you discover the right combination for the URL= option when used with PATH= and GPATH=. The easiest thing is to put the graphics and the HTML files all in the same directory on the server and use URL=NONE, however, the folks who maintain the servers (especially if they're web servers) may have an opinion about where graphics should be stored on the server.&lt;BR /&gt;
  &lt;BR /&gt;
For more help with this problem, you might consider contacting Tech Support. &lt;BR /&gt;
 cynthia</description>
      <pubDate>Fri, 24 Aug 2007 13:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reporting-Display-gif-file-outside-EG-4-1-environment/m-p/4310#M1362</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-08-24T13:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting: Display .gif file outside EG 4.1 environment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reporting-Display-gif-file-outside-EG-4-1-environment/m-p/4311#M1363</link>
      <description>Hi Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
It worked fine!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Nachi</description>
      <pubDate>Mon, 27 Aug 2007 08:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reporting-Display-gif-file-outside-EG-4-1-environment/m-p/4311#M1363</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-08-27T08:09:21Z</dc:date>
    </item>
  </channel>
</rss>

