DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

devel:event:tpl_img_display

This is an old revision of the document!


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()

Plugins handling this event

The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.

  • FIXME

See also

devel/event/tpl_img_display.1277562764.txt.gz · Last modified: 2010-06-26 16:32 by andi