attribute_view_gui

About

Outputs the view template for a content object attribute

Templates

The function attribute_view_gui uses templates which may be overridden as well.

The standard site design templates for each datatype are available which also have ini settings which can be specified to override these templates in a more granular way. The standard templates are located at, design/standard/templates/content/datatype/view

  • Images could use the ezimage.tpl template

Debugging

How to display templates used, debug output, template debug, cache and development mode.

Alternatives

You could simply reproduce the functionality provided by the attribute_view_gui function yourself and pass a template include parameter but this is considered a bad practice.

External reference