Thumbnail expand link handles images differently

6 views
Skip to first unread message

Trond Helge Rolland

unread,
Mar 25, 2026, 4:18:03 AM (yesterday) Mar 25
to ResourceSpace
Not quite sure if this is expected behaviour, but with the scr size setting to 1920x1080 and pre to be 540 (as is standard), the expand (aka "Full screen preview") link on the thumbnails gives us a different link (and therefore a different size) when expecting a full screen image when the original image is the same size as the scr.

I have two images in this example, one 1920x1080 and one 2560x1400. 

When clicking on the expand icon (enabled by $thumbs_expand=true;) the larger image appears in a nice big 1920x1080 image that fills the screen.
But the 1920x1080 image links to the pre size instead, showing a much smaller image even though the image itself is the same size and therefore should be shown in the same size. 

But since the links to the full screen themselves are different, it's not the image size that is the issue, it's that ResourceSpace appears to prefer the "pre" size when the original image itself is the same as scr. 

Example links: 
pages/download.php?ref=121403&size=scr&ext=jpg&page=1[...]
pages/download.php?ref=121405&size=pre&ext=jpg&page=1[...]

The same behavior is found when clicking on the image itself, so it's not just the expand link.



Reply all
Reply to author
Forward
0 new messages