Hi Lex, Sorry, I cannot really understand what you mean. Would you please simply revise the example for me?
image:imgs/logo.png[My Logo] image:http://third-party.com/logo.png[Third-Party's Logo] The problem is that I have to use 'imagedirs' document attribute, but I don't want images referenced via absolute URLs to be influenced. Thanks in advance. Regards, Jeremy On Jan 14, 3:39 pm, Lex Trotman <[email protected]> wrote: > 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’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 > > athttp://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.
