How to add more Thumbnail Size?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
taufan
Posts: 32
Joined: 22 Mar 2020 02:33

How to add more Thumbnail Size?

Post by taufan »

Hi,

I know there is 3 Thumbnail size at the moment.
There are Size #1, Size #2, and Size #3

My question are, how create Thumbnail Size #4 ?

FYI,
* I know how the create a Button.
* I know Command ID for Thumbnail #3 are #308;

Sorry for my English, i hope you understand.
Thanks.
Attachments
Clipboard-20210721.png
Clipboard-20210721.png (6.6 KiB) Viewed 1063 times

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: How to add more Thumbnail Size?

Post by highend »

Simply put: You can't
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: How to add more Thumbnail Size?

Post by klownboy »

There are ways around the limitation, but I'm not sure it's worth the effort. You can have another XYplorer.ini file (e.g., XYplorer_Gallery.ini, but the name is not important). You can start XY in another instance using your different INI file in which would have the additional thumbnail sizes. Under the top menu File > Settings Special > Save copy of Configuration as..." you can save your configuration settings using your different thumbnail sizes and even change the location of the thumbnail cache that uses these other thumbnail sizes for this new XYplorer_Gallery.ini instance. You would then run XY in another instance using a script with that ini file. As I said, it may not be worth the effort.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

Lusayalumino
Posts: 86
Joined: 13 Aug 2018 07:16
Location: USA

Re: How to add more Thumbnail Size?

Post by Lusayalumino »

Three options isn't bad, but one or two more would be great... This would be a fabulous feature.
XYPlorer, Great Form -- Awesome Function

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to add more Thumbnail Size?

Post by admin »

Each size has its own hard disk cache, so that more sizes also use more space.

Lusayalumino
Posts: 86
Joined: 13 Aug 2018 07:16
Location: USA

Re: How to add more Thumbnail Size?

Post by Lusayalumino »

Ahhh... indeed. And each size would have to be individually rebuilt separately (I believe).
XYPlorer, Great Form -- Awesome Function

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to add more Thumbnail Size?

Post by admin »

Yep. XYplorer thumbnails are built for speed. So there has to be a cache for each size, otherwise scaling would have to be done all the time, which would reduce the speed.

Norn
Posts: 416
Joined: 24 Oct 2021 16:10

Re: How to add more Thumbnail Size?

Post by Norn »

Solid-state drives are getting bigger and faster, so I don't have to care about space. I usually only need 3 sizes, but occasionally need another size, if possible via script? Not very necessary. . .
Win10, Win11 @100% 2560x1440 22H2

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to add more Thumbnail Size?

Post by admin »

Well, everyone can always use an additional one :) Currently I'm not planning anything in the thumbnail department.

Post Reply