<?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 Create variable labels containing images ? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/615210#M23659</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now we can add images in reports using postimage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="&amp;amp;demo./reporting/test.pdf";

proc report data=sashelp.class; 
    columns sex age height weight; 
    define sex    / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/gender.JPG"]; 
    define age    / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/age.JPG"];
    define height / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/height.JPG"];
    define weight / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/weight.JPG"];
run;
ods pdf &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering on whether there is any plan in future SAS release to using the label/attrib statement to create labels which would include images?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Véronique&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jan 2020 20:21:41 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2020-01-05T20:21:41Z</dc:date>
    <item>
      <title>Create variable labels containing images ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/615210#M23659</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now we can add images in reports using postimage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file="&amp;amp;demo./reporting/test.pdf";

proc report data=sashelp.class; 
    columns sex age height weight; 
    define sex    / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/gender.JPG"]; 
    define age    / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/age.JPG"];
    define height / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/height.JPG"];
    define weight / display '0D'x  style(header)=[postimage="&amp;amp;demo./images/weight.JPG"];
run;
ods pdf &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering on whether there is any plan in future SAS release to using the label/attrib statement to create labels which would include images?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Véronique&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 20:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/615210#M23659</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2020-01-05T20:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create variable labels containing images ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/615377#M23660</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Depending on the ODS destination you're using, you can use ODS ESCAPECHAR in a LABEL statement to insert an image. But the destination has to support images (for example, using an image with CSV in a LABEL statement will not work).&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image_label.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35173i21D40868B7F6B3B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="image_label.png" alt="image_label.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 00:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/615377#M23660</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-01-07T00:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create variable labels containing images ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/616875#M23689</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 11:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/616875#M23689</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2020-01-13T11:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create variable labels containing images ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/616879#M23690</link>
      <description>&lt;P&gt;Note that with proc report, if you're using slash and not backslash in the path, the default split= option should be modified, e.g. split='*', because split='/' is used by default.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 14:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/616879#M23690</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2020-01-13T14:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create variable labels containing images ?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/616929#M23692</link>
      <description>Hi:&lt;BR /&gt;  When I am using images in a LABEL, I prefer to use newline for the split, and then I can use the label with other procedures, not just PROC REPORT. Only PROC REPORT and PROC PRINT have a split= option. Other procedures, like TABULATE and FREQ support the LABEL statement, but not a SPLIT= option.&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 13 Jan 2020 14:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Create-variable-labels-containing-images/m-p/616929#M23692</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-01-13T14:35:25Z</dc:date>
    </item>
  </channel>
</rss>

