Can I stream an image from an external server?

ann.jensen
Posts: 230
Joined: Wed Jun 17, 2015 10:19 am

Can I stream an image from an external server?

Post by ann.jensen » Mon Dec 04, 2017 2:23 pm

Hi,
I thought I had recently successfully done the following:
- Added an image element to my DITA topic and set the href attribute value to a .png file on an external SharePoint server so that the image rendered in Author view.

Is this possible?
Thanks,
Ann

Radu
Posts: 6987
Joined: Fri Jul 09, 2004 5:18 pm

Re: Can I stream an image from an external server?

Post by Radu » Mon Dec 04, 2017 2:47 pm

Hi Ann,

Is this question about how the image would be rendered in the Author visual editing mode when you are editing the topic or how the image would be visible in the final HTML output?
Probably in the DITA topic the reference to the image should look like this:

Code: Select all

<image href="http://serverHost.com/path/to/image.png" scope="external"/>
but this will not mean that for the published output the image will be automatically downloaded and placed in the output folder, the generated HTML document will just contain a link to the same external web site.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

ann.jensen
Posts: 230
Joined: Wed Jun 17, 2015 10:19 am

Re: Can I stream an image from an external server?

Post by ann.jensen » Mon Dec 04, 2017 2:55 pm

Ok, thanks Radu.

Post Reply