Project

General

Profile

bug #6329

improve display of media sources and annotations

Added by Andreas Kohlbecker about 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
New
Category:
cdm-dataportal
Target version:
Start date:
01/09/2017
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

follow up of #6301

The sources and annotations are displayed differently in the image gallery and media page.

A. Gallery

  1. Sources and annotations should be display as footnotes below the whole gallery. Footnotes should be de-duplicated. This however is currently not possible since the media captions are loaded via AJAX one after another. To make this possible a new ajax mechanism is needed which loads the captions for all media in a gallery in one request and that also includes the footnotes.

B. Media Page

  1. On media pages the sources should be shown as ordinary attributes, not as footnotes (this is already implemented as far as I can see, only remainging issue: use "Source(s)" instead of "Sources". ---> #6316

Subtasks

feature request #6316: display source references of media objects in media pageNewAndreas Kohlbecker


Related issues

Copied from Edit - feature request #6301: Display of sources for images Closed 12/23/2016

History

#1 Updated by Andreas Kohlbecker about 2 years ago

#2 Updated by Andreas Kohlbecker about 2 years ago

  • Subject changed from improve display of media sources to improve display of media sources and annotations

The sources and annotations are displayed differently in the image gallery and media page.

A. Gallery

  1. Sources and annotations should be display as footnotes below the whole gallery. Footnotes should be de-duplicated. This however is currently not possible since the media captions are loaded via AJAX one after another. To make this possible a new ajax mechanism is needed which loads the captions for all media in a gallery in one request and that also includes the footnotes.

B. Media Page

#3 Updated by Andreas Kohlbecker about 2 years ago

  • Description updated (diff)

#4 Updated by Andreas Müller about 2 years ago

I don't understand why the captions are relevant here sources and annotations are not dependent on the captions and the captions will not hold any information that needs footnotes/annotations. So all the information can be computed without AJAX here.
But probably I am missing something.

#5 Updated by Andreas Kohlbecker about 2 years ago

Andreas Müller wrote:

I don't understand why the captions are relevant here sources and annotations are not dependent on the captions and the captions will not hold any information that needs footnotes/annotations. So all the information can be computed without AJAX here.
But probably I am missing something.

The method and related stuff is named media_caption. This is for historical reasons and could be changed if really needed. I was referring to that term even if it is a bit confusing to ease find the according function in the code.

#6 Updated by Andreas Müller about 2 years ago

  • Description updated (diff)

#7 Updated by Andreas Kohlbecker over 1 year ago

  • Description updated (diff)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)