DATA Step, Macro, Functions and more

ODS HTML report logo not displayed

Accepted Solution Solved
Reply
Contributor
Posts: 40
Accepted Solution

ODS HTML report logo not displayed

Hi,

I am sending an HTML report of my dataset to all users in an email , however the html report is not getting company logo displayed at the beginning. When i see it on my screen , i get it but when it is opened by others they dont see it.

What could be the reason

i did use

title j=c '^{style [preimage="/gpf1/output/imag004.gif"]}';

However it is still not displayed.

Thanks in advance for the help


Accepted Solutions
Solution
‎04-25-2015 12:18 AM
SAS Super FREQ
Posts: 8,743

Re: ODS HTML report logo not displayed

Hi:

As Reeza said, the HTML file only contains a link to the image file. If you want to only mail 1 file, then my suggestion is to make a PDF file that will have the image embedded in the file. Or make an RTF file that will have the image embedded in the file. With either of these destinations, there will just be 1 file to mail. On the other hand, if you really want to send an HTML file, then you have to mail the HTML file and ALL the images used in the HTML file. Which means that you might need adjust the PATH= and GPATH= options so that you create relative URLs instead of URLs with a location on your machine. Or, if the company logo is on a web server, then change your pre-image to be an HTTP: location on the server.

cynthia

View solution in original post


All Replies
Super User
Posts: 17,837

Re: ODS HTML report logo not displayed

HTML files only reference a link to the image. Is the image in a location accessible to all users?

You can check the HTML code directly to see the link to the image in the file.

Solution
‎04-25-2015 12:18 AM
SAS Super FREQ
Posts: 8,743

Re: ODS HTML report logo not displayed

Hi:

As Reeza said, the HTML file only contains a link to the image file. If you want to only mail 1 file, then my suggestion is to make a PDF file that will have the image embedded in the file. Or make an RTF file that will have the image embedded in the file. With either of these destinations, there will just be 1 file to mail. On the other hand, if you really want to send an HTML file, then you have to mail the HTML file and ALL the images used in the HTML file. Which means that you might need adjust the PATH= and GPATH= options so that you create relative URLs instead of URLs with a location on your machine. Or, if the company logo is on a web server, then change your pre-image to be an HTTP: location on the server.

cynthia

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 220 views
  • 0 likes
  • 3 in conversation