DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:tpl_img_display

TPL_IMG_DISPLAY

Description:
The image output on an image detail page
DefaultAction:
show the image (and link)
Preventable:
yes
Added:
2010-06-26

This event is signalled by tpl_img() in inc/template.php when an image detail page is shown.

Passed Data

  • $data['url'] - the direct link to the original, unreszized image (might be empty when $link = false was passed to tpl_img
  • $data['params'']] - a list of attributes for the img tag (can be passed to buildAttributes()

See also

devel/event/tpl_img_display.txt · Last modified: 2018-12-08 16:12 by torpedo

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki