Help toggling Gallery view for Images

Discuss and share scripts and script files...
Post Reply
sparks
Posts: 21
Joined: 06 Jan 2022 01:33

Help toggling Gallery view for Images

Post 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');

jupe
Posts: 3197
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Help toggling Gallery view for Images

Post by jupe »

To get back to default:

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

sparks
Posts: 21
Joined: 06 Jan 2022 01:33

Re: Help toggling Gallery view for Images

Post 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...
Last edited by sparks on 29 Dec 2024 07:03, edited 1 time in total.

jupe
Posts: 3197
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Help toggling Gallery view for Images

Post 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

Post Reply