Search…

X3 Photo Gallery Support Forums

Search…
 
pinkrabbit1357
Topic Author
Posts: 19
Joined: 28 Aug 2022, 18:02

reducing thumbnail dimension

10 Feb 2024, 10:23

Hi everyone, I tried to reduce the thumbnail dimension from 100x100 to 50x50 via css and as a result only half of the thumbs is showing and the other half is displaying blank. Is there a thumbnail cap that's doing this? thanks
thumb.JPG
thumb.JPG (55.26 KiB) Viewed 65 times
https://haohong.photo/x3/travel/Greece-2023/Santorini/

custom css:
.fotorama__nav__frame.fotorama__nav__frame--thumb,  
.fotorama__thumb,
.fotorama__thumb .fotorama__img{
  width: 50px !important;
  height: 50px !important;
}
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13987
Joined: 30 Sep 2006, 03:37

Re: reducing thumbnail dimension

10 Feb 2024, 22:40

I looked into this and tried to solve it, but unfortunately this is caused programmatically by the slideshow. The slideshow has been told to render thumbnails at 100px, and this then causes only a certain amount of thumbnails to "load" into view. This could probably be resolved by editing the Javascript source, but not by simply editing CSS unfortunately.

This is the 3rd party slideshow plugin used:
https://fotorama.io/
 
pinkrabbit1357
Topic Author
Posts: 19
Joined: 28 Aug 2022, 18:02

Re: reducing thumbnail dimension

12 Feb 2024, 14:04

thanks for the link. let me look into it. 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13987
Joined: 30 Sep 2006, 03:37

Re: reducing thumbnail dimension

13 Feb 2024, 01:50

You won't be able to resolve this easily, because the 100px thumbnail sizes are haredcoded into X3 ... Sorry  :confused: