Bug #2755
closedShahi presentation site ignores set main image
Description
I would like to draw your attention to an important issue, particularly relevant for the collections but not only.
The main image displayed on the front end does not correspond to the image set as the main image in the back end. When a record or collection contains multiple images, the system appears to select a random image—or possibly the most recently added one—as the main image, instead of the image explicitly designated as such.
I am not certain what causes this, but it is problematic and makes the front end unattractive.
Screenshot for examples added (collection and regular object, front and back end).
Files
Updated by Alexander Watzinger 3 days ago
- Subject changed from Main image displayed on the front end not corresponding to the image set as main in the back end to Shahi presentation site ignores set main image in backend
- Status changed from New to Assigned
- Assignee set to Olivia Reichl
- Target version set to 1.1.0
Thank you Gosia for the detailed description and the screenshots.
@Olivia Reichl:
According to Bernhard the information which image is set as main image should be available via the API.
But because this is a legacy frontend (developed by Andi) I'm not sure how easy it will be to update it accordingly.
I assigned this to you as our frontend expert but please let us know, in case you need support for this.
Updated by Alexander Watzinger 3 days ago
- Subject changed from Shahi presentation site ignores set main image in backend to Shahi presentation site ignores set main image
Updated by Alexander Watzinger about 19 hours ago
Because Olivia will be away for some time I asked Katharina if she could kindly take a look at it in case it is something that can be solved easily (I hope this is ok for you, Olivia).
Useful links:
Presentation site: https://shahi.acdh.oeaw.ac.at/
Backend: https://shahi.openatlas.eu/ (I created readonly accounts for Katharina and Olivia)
Frontend on GitHub: https://github.com/acdh-oeaw/Shahi-Frontend
Please feel free to contact @Bernhard Koschiček-Krombholz in case of questions how to get the profile image via the API.
Updated by Katharina Wünsche about 17 hours ago
- Status changed from Assigned to Resolved
- Assignee changed from Olivia Reichl to Katharina Wünsche
The issue should be fixed now. @Gosia Lenko, could you check if the images are now displayed as expected when you get a chance? Thanks in advance!
Updated by Alexander Watzinger about 17 hours ago
- Status changed from Resolved to Closed
- Target version deleted (
1.1.0)
- Backend: https://shahi.openatlas.eu/entity/7507
- Frontend: https://shahi.acdh.oeaw.ac.at/single/7507
and it seemed to work but please report if it is not working somewhere else.
A very big thank you to Katharina for solving this.
I'm closing this issue and removing the version because this is not part of the current frontend development.