aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.14 - [locimg] Built-In

OBSOLETE: See  [limg] 

Mnemonic aid: locimg for LOCal IMaGe

See also:  [lipath]  and  [wepath] 

This built-in provides standard HTML images with optional linking, using knowledge provided by  [lipath]  and  [wepath]  global settings (or temporary overrides provided by the wpath and lpath options) about where the image is stored on the local server and the website to determine image dimensions and set up the HTML  <img>  tag properly.


[locimg (wpath=WebPath,)(lpath=LocalPath,)(imageTitle,)imageURL( linkURL)]

[lipath /full/server/path/to/images]
[wepath /pics/]

[locimg warning.gif]
[locimg Warning,warning.gif]
[locimg warning.gif http://ourtimelines.com]
[locimg Warning,warning.gif http://ourtimelines.com]

<img width="139" height="47" src="/pics/warning.gif" alt="" title="">
<img width="139" height="47" alt="Warning" title="Warning" src="/pics/warning.gif">
<a href="http://ourtimelines.com" target="_blank"><img width="139" height="47" src="/pics/warning.gif" alt="" title=""></a>
<a href="http://ourtimelines.com" target="_blank"><img width="139" height="47" alt="Warning" title="Warning" src="/pics/warning.gif"></a>
Warning Warning

Other built-ins used here:  [lipath]  and  [wepath] 

Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses Python 2.7