This filter is useful for referencing a file stored in a filesystem library, rather than one that has been declared and defined through SPIP’s private zone and possibly linked to a section or article.
It is possible to pass a value for the alt
and class
attributes if desired by supplying these two arguments to the filter:|balise_img{alt_value, class_value}
.
Example:[(#CHEMIN{myimage.png}|balise_img{landscape, spip_doc})]
will produce the tag:<img src='le_rep/myimage.png' width='180' height='56" alt='landscape' class='spip_doc' />
.