title: Is it possible to open an attachment in an iframe in confluence?
body: <p>In confluence I have links to attachments like so:</p>
  
  <pre><code>&lt;ac:link&gt;&lt;ri:attachment ri:filename="attachmentFile" /&gt;&lt;ac:plain-text-link-body&gt;&lt;![CDATA[Link to attachment File]]&gt;&lt;/ac:plain-text-link-body&gt;&lt;/ac:link&gt;
  </code></pre>
  
  <p>I also found that iframes can be put into confluence like so:</p>
  
  <pre><code>&lt;ac:structured-macro ac:name="html" ac:schema-version="1"&gt;&lt;ac:parameter ac:name="atlassian-macro-output-type"&gt;INLINE&lt;/ac:parameter&gt;&lt;ac:plain-text-body&gt;&lt;![CDATA[&lt;iframe src="http://www.atlassian.com/" noborder="0" width="830" height="800" scrolling="yes" seamless&gt;&lt;/iframe&gt;]]&gt;&lt;/ac:plain-text-body&gt;&lt;/ac:structured-macro&gt;
  </code></pre>
  
  <p>Now I want somehow to combine the two. I want to have a link to the attachment that opens the attachment in an iframe. Is this possible? I haven't found any documentation on it so I'm hoping someone has achieved it</p>
  
  <p>Thx</p>
  
  <p>A</p>