Feature Wiki

Information about planned and released features

Tabs

Use Flavour for Tile-Image

1 Initial Problem

Since some versions it is possible to define a tile image for file objects. For file objects, however, it is also possible to automatically generate a preview image for many file types, as is also used for the file preview. File previews can currently only be called up in the list view; no previews can be seen in the tile view. 

2 Conceptual Summary

For file objects, a flavour for the tile view is now automatically generated with this feature - if supported by the file type. This image is used if no explicit tile image has been uploaded for this file object. The prioritisation would be as follows:

  1. uploaded tile image
  2. automatically generated flavour
  3. default image (single colour)

3 User Interface Modifications

3.1 List of Affected Views

  • Tile view in the Repository

3.2 User Interface Details

No new or modified views, only the provider of the tile image for file objects changes internally.

3.3 New User Interface Concepts

No new concepts

3.4 Accessibility Implications

No impact on existing A11y implementations

4 Technical Information

It overrides the ilObjectListGUI::getTileImagePath() method to cover the prioritisation mentioned above. A flavour with the size 512x512 pixels is used.

5 Privacy

No impact on existing data, no new personal data is collected, processed or exported.

6 Security

No impact on existing security issues and no new attack vectors. The flavours are checked by the existing mechanisms of the WebAccessChecker.

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

9 Discussion

14 APR 2023, Kergomard, Stephan [skergomard]: Thank you very much Schmid, Fabian [fschmid] for this improvement! From the point of view of the ilObject I find this a good addition. Fabian and I had a quick talk and we will try to find another implementation for the ilObject specific part though. So the "Technical Information" will most probably change during implementation.

JourFixe, ILIAS [jourfixe], 17 APR 2023: We highly appreciate this suggestion and schedule the feature for ILIAS 9. The permission to see the tile image based on the file preview should be similar to the current presentation of the file preview. If no READ permission is given to user, the generated tile image / file preview is not shown. In this case, only the coloured default image of a file is presented.

10 Implementation

The feature has been implemented as described.

Test Cases

Test cases completed at {date} by {user}

  • C63540 : Tile-Image von Vorschau

Privacy

Information in privacy.md of component: no change required

Approval

Approved at 17.10.2023 by Schmid, Fabian [fschmid].

Last edited: 17. Oct 2023, 16:05, Schmid, Fabian [fschmid]