Hiding images when working in oXygen

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
ltellis
Posts: 4

Hiding images when working in oXygen

Tue Jan 24, 2017 1:26 am

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
Radu
Posts: 5380

Re: Hiding images when working in oXygen

Tue Jan 24, 2017 8:54 am

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/customizing-dita-visual-editing.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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ltellis
Posts: 4

Re: Hiding images when working in oXygen

Tue Jan 24, 2017 7:58 pm

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.
ltellis
Posts: 4

Re: Hiding images when working in oXygen

Tue Jan 24, 2017 8:00 pm

I am using oXygen version 15.2.
Radu
Posts: 5380

Re: Hiding images when working in oXygen

Wed Jan 25, 2017 9:49 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests