al-folio
al-folio copied to clipboard
Publication preview image not enlarged on click
Have you checked that your issue isn't already filed?
- [X] I read through FAQ and searched through the past issues, none of which addressed my issue.
- [X] Yes, I have checked that this issue isn't already filed.
Bug description
Publication preview thumbnails are not enlarged and displayed at original size upon mouse click
How to reproduce the bug
- Go to any publication entry with a preview image which originally is of larger size than the thumbnail (e.g., any image from my personal site).
- Click on the thumbnail to zoom in.
- The image is centered but still displayed at the same small (and unreadable) size.
Error messages and logs
No error message.
What operating system are you using?
Not applicable (e.g. you're using GitHub Pages or other hosting)
Where are you seeing the problem on?
Deployed site
More info
A publication thumbnail is displayed at a reduced size by default, which is supposed to be centered, enlarged, and displayed at its original size upon click. In reality, the thumbnail is simply centered without any size change.
According to @george-gca from #2662
imagemagick creates a reduced version of those images, since they are displayed in this location at a really small size, and simply doesn't use the original version.