Project

General

Profile

Actions

bug #6329

open

improve display of media sources and annotations

Added by Andreas Kohlbecker over 7 years ago. Updated almost 5 years ago.

Status:
New
Priority:
New
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
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 1 (0 open1 closed)

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

Actions

Related issues

Related to EDIT - feature request #9717: show media source external links in media gallery and media pageNewAndreas Kohlbecker

Actions
Copied from EDIT - feature request #6301: Display of sources for imagesClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker over 7 years ago

Actions #2

Updated by Andreas Kohlbecker over 7 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

Actions #3

Updated by Andreas Kohlbecker over 7 years ago

  • Description updated (diff)
Actions #4

Updated by Andreas Müller over 7 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.

Actions #5

Updated by Andreas Kohlbecker over 7 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.

Actions #6

Updated by Andreas Müller over 7 years ago

  • Description updated (diff)
Actions #7

Updated by Andreas Kohlbecker about 7 years ago

  • Description updated (diff)
Actions #8

Updated by Andreas Kohlbecker almost 3 years ago

  • Related to feature request #9717: show media source external links in media gallery and media page added
Actions

Also available in: Atom PDF