Feature #1805


Collections: Gallery Overview

Added by Andreas Olschnögger almost 2 years ago. Updated over 1 year ago.

Target version:
Start date:
Estimated time:


The layout of this gallery should be improved (
Also thumbnails of the pictures should be loaded to reduce the size of the needed picture.

Actions #1

Updated by Andreas Olschnögger almost 2 years ago

  • Status changed from New to Assigned
  • Assignee set to Bernhard Koschiček-Krombholz

@ @Bernhard Koschiček-Krombholz, is there a possibility to load thumbnails of a picture via the API like in the OpenAtlas backend (with e.g. ?size=100)?

Actions #2

Updated by Alexander Watzinger over 1 year ago

@ @Bernhard Koschiček-Krombholz - can you give feedback on this. Thank you.

Actions #3

Updated by Bernhard Koschiček-Krombholz over 1 year ago

I'm absolutely deeply sorry, that I missed this issue!
Yes, indeed, there is a way. OpenAtlas serves two sizes in its basic configuration: thumbnail with 200px and table with 100px max size of the longer side. The thumbnail is used for the images in the detailed entity view and table is used for tables, e.g. the table where all files are listed (if it is enabled in the profile). These are fixed values in config/
You can use the resized images like this example: /api/display/117336.jpg?image_size=thumbnail

Other sizes need to be added in instance/ with something like:

IMAGE_SIZE['frontend'] = 400

Then it would be possible to call the images with /api/display/117336.jpg?image_size=frontend

/api/0.3/content/ shows the possible image size options and the selected max size.

I hope this answers your question, and again I'm deeply sorry for this delay. As ever, we can think of an optimization of the functionality if needed.

Actions #4

Updated by Bernhard Koschiček-Krombholz over 1 year ago

  • Assignee changed from Bernhard Koschiček-Krombholz to Andreas Olschnögger
Actions #5

Updated by Andreas Olschnögger over 1 year ago

  • Status changed from Assigned to Resolved
  • Assignee changed from Andreas Olschnögger to Natasha Kimmet

The layout of the collection images is improved and for faster loading of the images their thumbnails are taken.
@ @Natasha Kimmet please have a look at the changes and close this ticket if it is okay with you.

Actions #6

Updated by Gosia Lenko over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF