Page 1 of 1

Built‑in toggle to hide images in Author view

Posted: Thu Dec 18, 2025 1:27 pm
by danielsandes
I’d like to know the possibility of adding a built‑in toggle to hide graphics in Author view. In large S1000D data modules with many illustrations, Author view can become sluggish. Most of our authors rely on Author view rather than Text view, so switching modes isn’t practical.

We believe that a native toolbar toggle (and matching preference) - similar to Arbortext Editor's option - to hide/show graphics on demand would significantly improve editing performance and memory usage.

Thanks in advance for the consideration.
Daniel

Re: Built‑in toggle to hide images in Author view

Posted: Fri Dec 19, 2025 10:52 am
by sorin_carbunaru
Hello,

The rendition of the content in the Author page is done using CSS, so you can tweak it with some custom CSS rules quite easily.

First follow the docs from https://www.oxygenxml.com/doc/versions/ ... tyles.html to create an alternate CSS (one that can be applied over the current styles) in your framework directory.

You can also take a look at an older webinar of mine about customizing the editing experience:
https://youtu.be/N5cNgWfQAdQ?si=fi3S3bDAxb7kQziK&t=1250
This link will start the video exactly where I create an alternate CSS. For more background information, go back to 13:21 in the video.

In the created CSS file you can add rules to customize the image rendition as desired. For example, you can render a very small variant of the image with an explanatory label:

Code: Select all

image {
    width: 64px;
    height: 64px;
}

image:before(10) {
    content: "Image shrinked via aternate style:  ";
    display: inline;
    font-style: italic;
    color: gray;
}
Or perhaps you can replace the image with a label:

Code: Select all

image {
    content: "Placeholder for image: " attr(href) !important;
    font-style: italic;
    color: gray;
}
Now you can go to the Styles drop-down in the toolbars area and select or deselect the custom style to hide or show the images.

Hope this helps.

All the best wishes,
Sorin Carbunaru
Oxygen XML Editor