feature request #7056
openMedia View should show Preview
100%
Description
The media view should provide a preview of the image. the default should be no preview but it should be turned on by the preferences.
Related issues
Updated by Katja Luther about 6 years ago
- Status changed from New to Resolved
- Assignee changed from Katja Luther to Andreas Müller
the preview is now available, it can be activated in preferences
at the moment it is not possible to have different heights for the columns, therefore we need another treeviewer for implementing this we open a new ticket and close this one. (#7066)
Updated by Andreas Müller about 6 years ago
- Copied to feature request #7066: media view with preview should have different row heights for different image sizes added
Updated by Andreas Müller about 6 years ago
- Status changed from Resolved to Closed
- Assignee changed from Andreas Müller to Katja Luther
- % Done changed from 0 to 100
The base implementation seems to work correct.
Updated by Andreas Müller about 6 years ago
- Status changed from Closed to Feedback
The algorithm should always choose the smallest representation (or at least the best fitting for the given - small - size). There are already methods available to find the best fitting representation.
Updated by Andreas Müller about 6 years ago
The current implementation only iterates only on the parts of the first representation, but should iterate on all representations. Parts can be neglected (will be removed from model soon), always the first part should be taken.
URI uri = parts.get(0).getUri();
anyway uses the first part. The computed variable "smallestPart" is not used elsewhere in code.
Also have in mind, that often size does not exist, instead we need to take width and height. There is code for computing this elsewhere. We should try to reuse it. I need to search for it. AK may know.
Updated by Katja Luther almost 6 years ago
- Status changed from Feedback to Resolved
- Assignee changed from Katja Luther to Andreas Müller
now the smallest part is used and the library function to compute the smallest part.