Page 1 of 1

Hiding images when working in oXygen

Posted: Tue Jan 24, 2017 1:26 am
by ltellis
Hi,

I'm fairly new to oXygen. I'm trying to edit a topic with a lot of images in it, but it is going painfully slowly. Is there a way for me to hide the images in Author view so that things will go faster? I know I can do it in Text view, but I'm not as comfortable working with that view as I am with author. I'm hoping there's an easy way to do this without going into the CSS.

Thanks

Re: Hiding images when working in oXygen

Posted: Tue Jan 24, 2017 8:54 am
by Radu
Hi,

I'm afraid we do not have such a setting in our preferences. I added an internal issue with your request and we'll consider adding such a setting. Probably if such a setting would exist, instead of each image you would have a placeholder and you could double click that to open the image in the image viewer, right? In this way you could still see a certain image if you need this visual information when writing content around it.

Until then you will need to do this via the CSS.
If you are using the DITA standard you would need a custom CSS with a selector inside something like this:

Code: Select all

*[class~="topic/image"] {
content: "[" attr(href) "]" ! important;
color:red;
}
The custom CSS can be added either as an alternate CSS (available via the drop-down CSS selector) or as a default used CSS:
http://blog.oxygenxml.com/2016/10/custo ... iting.html

By the way, could you tell us more about the performance problem when editing a document with many referenced images?
What version of Oxygen are you using?
Are the images located on a remote server or on the local disk drive? What type of images are referenced in the XML? PNG, JPEG, svgs, etc?

Regards,
Radu

Re: Hiding images when working in oXygen

Posted: Tue Jan 24, 2017 7:58 pm
by ltellis
I have noticed that the more images I add, the slower it goes. The images I am using are primarily jpgs, pngs, and tifs. They are on a remote server. I check the oXygen topics out and work on them on my local computer and then check them back in to the server.

Re: Hiding images when working in oXygen

Posted: Tue Jan 24, 2017 8:00 pm
by ltellis
I am using oXygen version 15.2.

Re: Hiding images when working in oXygen

Posted: Wed Jan 25, 2017 9:49 am
by Radu
Hi,

The most recent Oxygen version is 18.1.
We made significant improvements to the ways in which we cache remote referenced images in Oxygen 17.0, about 2 years ago.
So if you have the possibility to upgrade to a more recent Oxygen version, I think it should at least remove some of the problems you have.
Or as you proposed you can use a custom CSS to hide images.

Regards,
Radu

Re: Hiding images when working in oXygen

Posted: Thu Apr 07, 2022 7:24 pm
by Liam
This would be a very useful feature. We too are experiencing significant latency issues when working with an XML file containing numerous SVG images. Having a Preference to show an icon instead of the graphic is a very useful feature that other editors have, especially when connected to a remote CCMS. You have to wait for all SVGs to download and display before you can begin editing, and this requires us to set the Timeout higher than 20.

Re: Hiding images when working in oXygen

Posted: Fri Apr 08, 2022 7:35 am
by Radu
Hi Liam,

Thanks for the request, we have two possibilities, either to add a checkbox to completely skip loading images on load (and maybe add an on-demand load action) or to load the images on a thread, when for example scrolling down in the document. If we make any progress on this I will update this forum thread.
For now you would need to customize the CSS for editing, as I outlined above.

Regards,
Radu