docs.roxen.comBack to normal mode
DocsRoxenWebServer 6.1Web Developer ManualGraphics Tags
Copyright  2019, Roxen Internet Software
Suggestions, comments & compliments


Provided by module: Tags: RXML tags

Generates an image tag with the correct dimensions in the width and height attributes. These dimensions are read from the image itself, so the image must exist when the tag is generated. The image must also be in GIF, JPEG/JFIF, PNG, PSD or TIFF format. It is possible to pass attributes, such as the alt attribute, to the resulting tag by including them in the imgs tag. Note that the image content is not converted.

See also the <emit source="imgs"> for retrieving the same image information without generating the output tag.



The path to the file that should be shown.


Description of the image. If no description is provided, the filename (capitalized, without extension and with some characters replaced) will be used.


If provided, silently ignore run-time errors such as image not found.

All other attributes will be inherited by the generated img tag.