Project

General

Profile

Actions

bug #7093

closed

choosing representation which best fits the available size for taxon profile picture not working in all cases

Added by Andreas Kohlbecker over 6 years ago. Updated about 4 years ago.

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

0%

Estimated time:
Severity:
critical
Found in Version:
Tags:

Description

even fixed in #6969 choosing representation which best fits the available size for taxon profile picture not working in all cases

see http://portal.cybertaxonomy.org/flora-greece/cdm_dataportal/taxon/1c7a0a82-bd99-44eb-91cf-77a36206d0ad

where some images are loading slow, in these cases the algorithm chooses the high quality representation even if the thumbnail size perfectly fits the preferred size

  • Thumbnails with 150x96 available (=> product is 14400)
  • Preferred size 120x120 defined in setting of taxon gallery (=> product is 14400)

Related issues

Related to EDIT - bug #6969: Use media representation which best fits the available size for taxon profile pictureClosedAndreas Kohlbecker

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

Actions
Related to EDIT - bug #9979: Flora Greece shows large images In ProgressKatja Luther04/25/202204/29/2022

Actions
Actions #1

Updated by Andreas Kohlbecker over 6 years ago

  • Related to bug #6969: Use media representation which best fits the available size for taxon profile picture added
Actions #2

Updated by Andreas Müller over 6 years ago

  • % Done changed from 100 to 0
Actions #3

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.12 to Release 4.13
Actions #4

Updated by Andreas Müller about 6 years ago

  • Target version changed from Release 4.13 to Release 4.14
Actions #5

Updated by Andreas Müller about 6 years ago

  • Target version changed from Release 4.14 to Release 5.0
Actions #6

Updated by Andreas Kohlbecker almost 6 years ago

  • Target version changed from Release 5.0 to Release 5.1
Actions #7

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 5.1 to Release 5.2
Actions #8

Updated by Andreas Kohlbecker over 5 years ago

  • Target version changed from Release 5.2 to Release 5.3
Actions #9

Updated by Andreas Kohlbecker over 5 years ago

  • Target version changed from Release 5.3 to Release 5.4
Actions #10

Updated by Andreas Kohlbecker over 5 years ago

  • Target version changed from Release 5.4 to Release 5.5
Actions #11

Updated by Andreas Kohlbecker about 5 years ago

  • Target version changed from Release 5.5 to Release 5.6
Actions #12

Updated by Andreas Kohlbecker about 5 years ago

  • Target version changed from Release 5.6 to Unassigned CDM tickets
Actions #13

Updated by Andreas Kohlbecker about 4 years ago

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

Updated by Andreas Kohlbecker about 4 years ago

  • Status changed from New to Duplicate
  • Target version deleted (Unassigned CDM tickets)

This is a duplicate of the issue #6970

Actions #15

Updated by Andreas Kohlbecker about 4 years ago

  • Related to deleted (bug #6970: MediaUtils.filterAndOrderMediaRepresentations perfers thumbnail MediaRepresentations over full sized)
Actions #16

Updated by Andreas Kohlbecker about 4 years ago

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

Updated by Andreas Kohlbecker about 4 years ago

  • Related to deleted (bug #6970: MediaUtils.filterAndOrderMediaRepresentations perfers thumbnail MediaRepresentations over full sized)
Actions #18

Updated by Andreas Kohlbecker about 4 years ago

  • Is duplicate of bug #6970: MediaUtils.filterAndOrderMediaRepresentations perfers thumbnail MediaRepresentations over full sized added
Actions #19

Updated by Andreas Kohlbecker about 4 years ago

  • Is duplicate of deleted (bug #6970: MediaUtils.filterAndOrderMediaRepresentations perfers thumbnail MediaRepresentations over full sized)
Actions #20

Updated by Andreas Kohlbecker about 4 years ago

  • Status changed from Duplicate to Worksforme

Andreas Kohlbecker wrote:

This is a duplicate of the issue #6970

Not really, since the problem in #6970 is exactly the opposite effect.

This issue cant be reproduced at the moment in the production system so this problem might have been solved in a different way - could have been a data problem?

Actions #21

Updated by Andreas Müller about 4 years ago

Andreas Kohlbecker wrote:

Andreas Kohlbecker wrote:

This is a duplicate of the issue #6970

Not really, since the problem in #6970 is exactly the opposite effect.

This issue cant be reproduced at the moment in the production system so this problem might have been solved in a different way - could have been a data problem?

The current images (see link in description) have not the size that was mentioned in the description anymore. They were adapted in a way that they work well with the current situation (specific situation in flora-greece portal and general situation in dataportal and cdmlib).
You may decide if you think that the ticket is "Worksforme" anyway. I personally do not remember that it was explicitly fixed but do not really remember. Definetely there are still problems with the specific implementations for flora-greece but is probably another issue.

Actions #22

Updated by Andreas Kohlbecker about 4 years ago

  • Status changed from Worksforme to Feedback
  • Assignee changed from Andreas Kohlbecker to Andreas Müller
  • Target version set to Release 5.13

Thank you for pointing this out.
Have only the thumbnails been adapted or also the large images? Do you know more about the details of the former image sizes?

Actions #23

Updated by Andreas Müller about 4 years ago

Andreas Kohlbecker wrote:

Thank you for pointing this out.
Have only the thumbnails been adapted or also the large images? Do you know more about the details of the former image sizes?

See description

Actions #24

Updated by Andreas Kohlbecker about 4 years ago

Andreas Müller wrote:

Andreas Kohlbecker wrote:

Thank you for pointing this out.
Have only the thumbnails been adapted or also the large images? Do you know more about the details of the former image sizes?

See description

"algorithm chooses the high quality representation", but there is no information on the size of these large images, this is why I was asking you for further information. Do you know I it was necessary to also change the size of the lager images?

Actions #25

Updated by Andreas Müller about 4 years ago

Andreas Kohlbecker wrote:

Andreas Müller wrote:

Andreas Kohlbecker wrote:

Thank you for pointing this out.
Have only the thumbnails been adapted or also the large images? Do you know more about the details of the former image sizes?

See description

"algorithm chooses the high quality representation", but there is no information on the size of these large images, this is why I was asking you for further information. Do you know I it was necessary to also change the size of the lager images?

No usually the size of the large images was not changed (as far as I know)

Actions #26

Updated by Andreas Kohlbecker about 4 years ago

Ok, I will test with these sizes ....

Actions #27

Updated by Andreas Müller about 4 years ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Andreas Müller to Andreas Kohlbecker
Actions #28

Updated by Andreas Kohlbecker about 4 years ago

  • Status changed from In Progress to Worksforme

I could not reproduce this issue with the test cases implemented in 84331f40
A research in the old emails did not reveal better details on the actual image sized with which this problem occured.

Finally it seems as if the new algorithm implemented in MediaUtils (#6970) solves this problem.

Thus I am closing this as worksforme

Actions #29

Updated by Andreas Kohlbecker about 4 years ago

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

Updated by Andreas Kohlbecker about 4 years ago

  • Target version deleted (Release 5.13)
Actions #31

Updated by Andreas Müller over 1 year ago

  • Related to bug #9979: Flora Greece shows large images added
Actions

Also available in: Atom PDF