Image download from external source

<oXygen/> general issues.
sriram_l
Posts: 3

Image download from external source

Tue Jun 12, 2018 2:38 pm

Hi,
In Oxygen XML web Author, Is there a way to download image from external source? I tried using 'content' property of CSS by passing the absolute URL but this gets appended to the oxygen REST URL to fetch image cached.
cristi_talau
Posts: 152

Re: Image download from external source

Tue Jun 12, 2018 3:41 pm

Hello,

All images are downloaded using Web Author server as a proxy. So the URL of the image is appended to the REST URL and on the server it is extracted and downloaded and sent to the browser.

Are this images linked in the content, or are they just decorator images? If you are in the second case, a good idea would be to add them in the framework and refer them in CSS using a relative path to the CSS.

Best,
Cristian
sriram_l
Posts: 3

Re: Image download from external source

Thu Jun 14, 2018 12:41 pm

Hi Cristian,
The image is a linked in the content and I'm able to do link and display the image on editor.

but what about REST calls to external systems. How can this be done?
cristi_talau
Posts: 152

Re: Image download from external source

Thu Jun 14, 2018 6:38 pm

Hello,

So you have an image which is refered from content and which needs to be retrieved over HTTP(s) from another Web/REST server. I created a sample here: https://www.oxygenxml.com/oxygen-xml-we ... -image.xml . This is a DITA topic that uses an image served by oxygenxml.com.

Some questions to clarify the problem:
1. Is this case what you had in mind?
2. What connector are you using: Git, Sharepoint, WebDAV, something else?
3. What is the status code displayed in Dev Tools for the request made to get the image?

Best,
Cristian

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest