モディファイア

Modifiers to include images in the templates, uses the possible following phx modifiers:

imgwidth : image width

Pur: provide the image width

E.g: <img src="[+as.imgTag+]" width="[+as.imgTag:imgwidth+]" />

imgheigth : image height

Pur: provide the image height

E.g: <img src="[+as.imgTag+]" width="[+as.imgTag:imgheigth+]" />

Imgattr : image attributes

Pur: provide the image attributes as height="xxx" width="yyy"

E.g: <img src="[+as.imgTag +]" [+as.imgTag:imgattr+] />

Imgmaxwidth : image max width

Pur: limit the width of the image to a maximum. Under this limit, keep the true width

E.g: <img src="[+as.imgTag +]" width="[+as.imgTag:imgmaxwidth='60'+]" />

Imgmaxheight : image max height

Pur: limit the height of the image to a maximum. Under this limit, keep the true height

E.g: <img src="[+as.imgTag +]" width="[+as.imgTag:imgmaxheight='90'+]" />

Not: These modifiers are particularly usefull with the ajax mode to help html to determine the height of the AjaxSearch pop-up window

PR

  • KAGOYA
  • ASP at AKIHABARA Japan
  • CMS AWARDS 2007 Winner
ページトップへ