InterJinn

Development Framework For PHP

Embed: {jinn:image}

Abstract

Alias: {jinn:img}

This embed is used to localize image paths that might appear in tags such as <td background="anImage.gif"> tag.

Attribute - source (aka src)

This attribute denotes the path to the image to be localized. Localization means that if the path begins with // then the path will be considered relative to the imageBase that you set in the project configuration. Otherwise the path is left unaltered.

The following example illustrates localization of an image within a standard HTML <td/> tag.

Example:
<td background="{jinn:image source=//blueSky.png}">
Some content which will display over the given background.
</td>