Project

General

Profile

Actions

bug #6969

closed

Use media representation which best fits the available size for taxon profile picture

Added by Andreas Müller almost 5 years ago. Updated almost 5 years ago.

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

100%

Estimated time:
Severity:
critical
Found in Version:

Description

As an example you find a taxon with 3 different images here: http://test.e-taxonomy.eu/dataportal/preview/salvador/cdm_dataportal/taxon/29899fed-812d-49ae-b88f-70d25fd27691

I used 3 different pictures to easier distinguish which image was taken. There is a thumbnail image (120px), medium 350px and large image.

Currently the thumbnail is shown as profile picture, but the medium should be shown.


Related issues

Related to EDIT - bug #6684: Use media representation which best fits the available viewport size for the Image Overlay ClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #6683: Use best quality media representation in image viewer on media page ClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #6970: MediaUtils.filterAndOrderMediaRepresentations perfers thumbnail MediaRepresentations over full sizedClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #7093: choosing representation which best fits the available size for taxon profile picture not working in all casesWorksformeAndreas Kohlbecker

Actions
Copied to EDIT - bug #6975: improve preferred media calculation algorithm in cdmlibNewAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Müller almost 5 years ago

  • Related to bug #6684: Use media representation which best fits the available viewport size for the Image Overlay added
Actions #2

Updated by Andreas Müller almost 5 years ago

  • Related to bug #6683: Use best quality media representation in image viewer on media page added
Actions #3

Updated by Andreas Müller almost 5 years ago

  • Description updated (diff)
Actions #4

Updated by Andreas Kohlbecker almost 5 years ago

  • Related to bug #6970: MediaUtils.filterAndOrderMediaRepresentations perfers thumbnail MediaRepresentations over full sized added
Actions #5

Updated by Andreas Kohlbecker almost 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #6

Updated by Andreas Müller almost 5 years ago

  • Assignee changed from Andreas Kohlbecker to Andreas Müller
Actions #7

Updated by Andreas Müller almost 5 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

Generally the switch seems to work.

Only the algorithm for me should decide earlier to take a larger image.

I played around with the given example and changed in the admin tools the size of the profile picture. Somewhere between 310 and 320 it switched from thumbnail to medium size.

The thumbnail has size 120(h)x80(w), medium has 527x350.

With picture size 310 this results in a picture of bad quality as the thumbnail is augmented by factor >2.5.

However, we may close this ticket and create a new one for adjusting the algorithm (both in dataportal and cdmlib)

Actions #8

Updated by Andreas Kohlbecker almost 5 years ago

  • Copied to bug #6975: improve preferred media calculation algorithm in cdmlib added
Actions #9

Updated by Andreas Kohlbecker almost 5 years ago

  • Status changed from Feedback to Closed

Ok, agreed, I created a new ticket for the improvement of the calculation: #6975 and I am closing this ticket by now.

Actions #10

Updated by Andreas Kohlbecker almost 5 years ago

  • % Done changed from 50 to 100
Actions #11

Updated by Andreas Kohlbecker over 4 years ago

  • Related to bug #7093: choosing representation which best fits the available size for taxon profile picture not working in all cases added
Actions

Also available in: Atom PDF