Page 1 of 1

Help toggling Gallery view for Images

Posted: 29 Dec 2024 03:38
by sparks
Stuck and humbled.
Don the admin in a discussion quite a while back in 2023 offered a little 'Gallery' test script line, which I dutifully practiced making a 'shortcut' button in my newbie ability.
Been making headway slowly, amazed at the utility of this prog and the power of photo viewing, storing, and speed of huge image data needs. This tidbit gave me yet another great view.
Alas, I can't toggle back, or even figure out what's been changed, since I also sinned by exiting saving (stupidly..) and started up again, now doomed to my new thumbnail style change.
I promise to learn more ASAP.. Just a quick point in the right direction, please!! :oops:

Don's original post info...
Select a thumbnails view in the list and run this through the address bar. It toggles back and forth between normal thumbs and something that comes close to a Masonry Grid-view:

thumbsconf((thumbsconf() == '0,1,0,0,0,0,0,0,1') ? '1,0,0,4,0,0,0,0,1' : '0,1,0,0,0,0,0,0,1');

Re: Help toggling Gallery view for Images

Posted: 29 Dec 2024 03:50
by jupe
To get back to default:

thumbsconf("1,0,3,4,0,1,0,0,1,0");

Re: Help toggling Gallery view for Images

Posted: 29 Dec 2024 06:10
by sparks
Thanks for fast reply, Jupe! Slight prob is folders now show yellow 'fill', but my original views did not.
The jpg's inside the folders are w/o fill, I assume).
I added your script to a shortcut for now, very cool multiple customizing choices here...

(EDIT) Ahh, just looked up the script commands ref, I get it now because of what you showed me... I'll get what I
I want, and edit your script, instead of continuing to edit my post in real time as I learn.. lol.. Thanks...

Re: Help toggling Gallery view for Images

Posted: 29 Dec 2024 06:24
by jupe
Yes that will just get you back to default, I have no way of knowing what config changes you had made, but all these commands do is adjust settings that are available on this config page:

Configuration | Preview | Thumbnails