This parameter is applied in the template named "process.image". That template is called only from a mediaobject, inlinemediaobject, or graphic element in the XML content, so it would not be triggered by admonition graphics or other generated icons.  It would apply to instances of your logo inserted by any of those elements in your content, but not if the stylesheet generates a reference to the image directly.

Bob Stayton
[email protected]

On 5/12/2021 3:46 AM, Michel van den Burg wrote:

That’s an interesting parameter! Is there a way to apply this to some images, but not all? For example, we don’t want our admonition graphics or our company logo to be clickable in our output, but only the figures.

Thanks,

Michel

*Van:*Bob Stayton <[email protected]>
*Verzonden:* vrijdag 7 mei 2021 23:51
*Aan:* [email protected]
*Onderwerp:* Re: [docbook-apps] Thumbnails?

I think you might be looking to set the stylesheet parameter link.to.self.for.mediaobject="1".

http://docbook.sourceforge.net/release/xsl/current/doc/html/link.to.self.for.mediaobject.html <http://docbook.sourceforge.net/release/xsl/current/doc/html/link.to.self.for.mediaobject.html>

That produces the image in place scaled per attributes, and also wraps the image in a direct link to the image file, which would show it unscaled (or full scale) in the browser window.

Bob Stayton
[email protected]  <mailto:[email protected]>

On 5/7/2021 12:27 AM, Dave Pawson wrote:

    I've a set of photographs of document pages.

    With small text if the page is zoomed to make the text readable

    the main page text is ... too big.

    html output, is it possible to insert the thumbnail with a link to the

    full size image please?

    TiA

Reply via email to