Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

Images need to be on a website and can then be added into a Report Template.


Steps to add an image into a report template
  1. Navigate to the Subject Reports page 
  2. Select the Attributes tab in the left panel
  3. By default the Design tab the report template section is displayed
  4. Click on HTML to go to the HTML tab
  5. Images are entered using an <img> tag, for example:  <img src=https://dl.dropbox.com/u/13090636/Contact%20Management/ScienceTRAXLogo.gif />

    The image should be on a secure server (https) to keep the windows security box from displaying


  6. Click on the Design tab and the image will be displayed
  7. The image can be formatted either on the Design tab or the HTML tab
    1. Design Tab
      1. Click on the image
      2. In the bottom right a Properties icon will display
      3. Click on the properties icon
      4. The Properties window will display
      5. Enter/edit the properties
      6. Click OK
    2. HTML Tab
      1. Select the HTML tab
      2. Add the applicable HTML

Using an image in skip logic (example)

The following code would be pasted into the Design tab of the report template

<%
 if (#image==0) Output.Write("<img src='https://dl.dropbox.com/u/13090636/Contact%20Management/StartupSide1.png'>");

 else if (#image==1) Output.Write("<img src='https://dl.dropbox.com/u/13090636/Contact%20Management/StartupSide2.png'>");

%>

Before pasting any code or text into the Design tab of a Report Template, first paste the content into Notepad to strip the formatting


Alternately, the following code could be pasted into the HTML tab of the report template

This method is more complicated and adding the code directly into the Design tab is recommended

<%<br />
 if (#image==0) Output.Write("<img src='https://dl.dropbox.com/u/13090636/Contact%20Management/StartupSide1.png'>"); <br />
<br />
 else if (#image==1) Output.Write("<img src='https://dl.dropbox.com/u/13090636/Contact%20Management/StartupSide2.png'>"); <br />
%>

  • No labels