function.image.php
Tags
Table of Contents
- jtpl_function_html_image() : mixed
- image plugin : write the url corresponding to the image.
Functions
jtpl_function_html_image()
image plugin : write the url corresponding to the image.
jtpl_function_html_image(jTpl $tpl, string $src[, array<string|int, mixed> $params = array() ]) : mixed
Add a link to the image, The image is resized, and cached
class :string id :string alt :string width :uint height :uint maxwidth :uint only with maxheight maxheight :uint only with maxwidth zoom 1-100 omo :boolean alignh [left|center|right|:int] alignv [top|center|bottom|:int] ext [png|jpg|gif] quality 0-100 if ext = jpg shadow :boolean soffset :uint sangle :uint sblur :uint sopacity :uint scolor #000000 :string background #000000 :string
gif -> image/gif jpeg -> image/jpeg jpg -> image/jpeg jpe -> image/jpeg xpm -> image/x-xpixmap xbm -> image/x-xbitmap wbmp -> image/vnd.wap.wbmp png -> image/png other -> image/png
Parameters
- $tpl : jTpl
-
template engine
- $src : string
-
the url of image relative to the www path
- $params : array<string|int, mixed> = array()
-
parameters for the transformation and img element