On Sat, Jan 14, 2012 at 5:12 PM, sardine <[email protected]> wrote:
> Hi,
>
> The usage of 'imagesdir' is explained in the user guide:
>
>  imagesdir - If this attribute is defined it is prepended to the
> target image file name paths in inline and block image macros.
>
> Here is an example:
>
> image:imgs/logo.png[My Logo]
> image:http://third-party.com/logo.png[Third-Party's Logo]
>
> The result of executing 'asciidoc -a imagesdir=context-path' is:
>
> <img src="context-path/imgs/logo.png" alt="My Logo" />
> <img src="context-path/http://third-party.com/logo.png"; alt="Third-
> Party&#8217;s Logo" />
>
> The problem is that it does't make sense to apply 'imagesdir' setting
> to image macros with ABSOLUTE targets (URLs).
>
> Do I misuse the attribute? If not, I think it would be more intuitive
> that attribute 'imagesdir' is only applied to image macros with
> relative URLs.

Hi,

The target has to be a filepath, to use a url set the link attribute
and don't use a target. (html only)

Cheers
Lex

>
> Regards,
> Jeremy
>
> --
> You received this message because you are subscribed to the Google Groups 
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/asciidoc?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to