Jeff Hooker wrote: > I've created in image toolkit plugin to render PDF images in my docbook files > (basically lifted it right from the documentation) but rendering all the > images in a document is making my users wait a long time (as much as 8 > minutes)
Needless to say that when we created XMLmind XML Editor we didn't imagine that such use cases could happen. Sorry for this shortcoming. > when opening large docbook files. I've adjusted the CSS so that images and > tables are collapsed by default, but it appears that images are being > rendered for the PDFs even though the images are not displayed. > All collapsed elements, including image elements, are fully rendered and then kept out of user sight. > Is there simple of preventing image rendering from taking place until the > image is actually viewed? > No, because there is currently no way to detect whether an image is actually displayed. Solving this problem is not easy. Ideas: * Make image toolkits support background rendering of images (like in a browser). * AND/OR Let image toolkits generate a low-res image (a .png file) the first time an image is rendered and then use this low-res image for subsequent renderings. In all cases, this requires deep changes in the image toolkit plug-in framework.

