Re: [xep-support] making an image an external link

From: Russ Burdick (
Date: Wed Jul 23 2003 - 12:33:08 PDT

  • Next message: Kurt Werle (Consultant) PGRD: "Re: [xep-support] Blank output"

    On Fri, Jul 18, 2003 at 02:49:58PM +0400, Alexander Peshkov wrote:
    > The only workaround I can think of is to manually set height of
    > fo:basic-link to be equal that of the image. Since inline height
    > governed by text-altitude/text-depth properties you should use
    > something like this:
    > <fo:basic-link external-destination="url("
    > text-altitude="150px"
    > text-depth="0px">
    > <fo:external-graphic src="url(foo.jpg)" height="150px"/>
    > </fo:basic-link>
    > Hope this helps.

    that works great, thanks.

    however, what happens if i do not know teh height/width of the image or
    i'm scaling the image during inclusion in the PDF? what i have is
    something like this:

            <fo:basic-link external-destination="url(">
               <fo:external-graphic src="url(foo.png)"

    in this case even if i know that foo.png is 600px x 100px, it is scaled
    to fit the page. is there any way to extract the scaled value?

    i'm not opposed to resizing these images to be the "right" size as i'm
    only using this on a title page and i know what images will be included,
    so i dont really need to make this work for all cases. i just wondered
    if it's possible. thanks again for your suggestion.

    Russ Burdick
    Internet Systems Designer and Administrator, VAWOR
    University of Minnesota
    School of Social Work
    105 Peters Hall
    1404 Gortner Ave
    St. Paul, MN 55108

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Wed Jul 23 2003 - 12:36:07 PDT