image_tag_attributes
Added in version 2.7.
Usage
Filter the HTML attributes used for an record’s image.
This filter affects <img> tags created by file_markup, files_for_item,
record_image, item_image, and file_image (essentially meaning
it covers anywhere derivative images are used for a record).
Value
array$attrsArray of HTML attributes for the
<img>tag.
Arguments
Omeka_RecordrecordThe record being displayed (could be an Item or Collection in the case of a thumbnail)
FilefileThe file being displayed. This is always the File that directly corresponds with the image, while
recordcan be another record like an Item, Collection or Exhibit that simply uses the File as its representative image.stringformatType of derivative image being displayed (e.g.,
'thumbnail','fullsize','square_thumbnail')