Skip to content

Configuration option for displaying annotated image #1

Description

@zerocrates

Imported from Trac ticket #150 reported by jboggs on 2011-01-25:

ImageAnnotation currently requires users to manually add the function to display an annotated image to the public theme. Ideally, the plugin should have some kind of configuration option to determine where and how to add the annotated image to the items/show page. Options could include:

  • Replace any instance of the image from 'display_files_for_items()'. Would require filtering the Media class, and using a new output for images that have annotations.
  • Append to the items/show page using the 'public_append_to_items_show' hook.
  • No adding - Let theme developers add the ImageAnnotation code to the theme themselves.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions