Page 1 of 1

How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 02 Mar 2024 22:18
by quickques01
I'll keep it simple

windows explorer reads the path of the .ico file from the desktop.ini file located inside of a folder, then it displays that .ico file as the image for the folder thumbnail

however


xyplorer goes by a default list of image sources until it finds a source or it doesn't, then it determines the output of the folder thumbnail

example scenarios

xyplorer checks desktop.ini first (i'm presuming), finds path to .ico file that exists = uses the .ico file as the folder thumbnail (just like windows explorer)

xyplorer checks desktop.ini first (i'm presuming), finds no path to .ico file that exists then scans for the first .ico file in the folder = uses the .ico file as the folder thumbnail (windows explorer will display default standard folder icon if path to .ico is not found)

xyplorer finds no desktop.ini file then scans for the first .ico file in the folder that exists = uses the .ico file as the folder thumbnail

xyplorer finds no desktop.ini or .ico file then scans for the first .jpg file in the folder that exists = uses the .jpg file as the folder thumbnail

xyplorer finds no desktop.ini or .ico or .jpg file in the folder that exists = uses default standard folder icon



my question is, is it possible to only have xyplorer use the .ico file and not go to the next image source (.jpg, etc...), in which case it'll display the default standard folder icon only


and in case anybody brings it up, disabling "show folder thumbnails" in the thumbnails configuration gives that result (just like windows explorer) but it does not increase the size of the folder thumbnail icon picture, which is basically my only point.


thanks for reading, i'm sure others might be wondering about this in the future

Re: How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 02 Mar 2024 23:48
by jupe
Currently you can't configure the precedence when Show Folder Thumbnails is enabled, but if you are happy with Explorer style thumbnails and their sizing you can enable those instead.

FolderThumbsShell=1

follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak

Alternatively, with "Show Folder Thumbnails" disabled you can set a default folder icon that only applies when there is no desktop.ini (/d switch) using Custom File Icons, you could test that out and see if it is suitable for you.

https://www.xyplorer.com/release_12.40.php#CFI

More info in help file about that feature.

Re: How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 03 Mar 2024 02:25
by quickques01
i'll look into this later on tonight, but i'm NOT happy with windows explorers icon sizing, that's the issue, in windows explorer the limit is 256x256, that's why i decided to try this out, because i just want folder icons to be much larger. however i've run into a different set of problems where it doesn't behave like explorer does and starts looking for other sources to use as the icon on the folder


basically i just wanted the pictures on the folder larger (custom size selection preferable) then windows explorers default, xyplorer offers that, but the source that it's getting the pictures for the folder are my issue, i figured it would only just check the folder for the .ico file and be done with it, but instead it's checking for the next in line .jpg etc


thanks for the input, i'll check it out and see if this indeed is the solution.

Re: How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 03 Mar 2024 02:45
by jupe
Using the first shell thumbs option, you'll get larger thumbnails (not icons), but their style may not be as you desire.

Not sure about Win11, but in Win10- the default shell folder icon source is 256px max, so there isn't a size to step up to.

Also in case you aren't aware, when using default XY settings, if you are mainly concerned about a certain set of folders where this is an issue for you (not global browsing), you can name an image in a folder that you want to be used as the thumbnail for its parent to folder.jpg/png to be selected by default.

Re: How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 03 Mar 2024 09:44
by admin
tldr

Is it that the OP wants to limit folder thumbs to ICO?

Re: How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 04 Mar 2024 10:05
by quickques01
256 is the limit, but xyplorer bypasses this limit with the zoom to fit option, so there is a step up, and yes i want to limit the thumbs on folders only to the specific file, .ico

if would be good if there was some command line that allowed to specifically select which files can be used for the thumbnail on the folder, if no file is found then the default folder thumbnail icon is shown. it can also point to the desktop.ini file, where it would read the .ico path from that file only (if it exists), if it doesn't then default folder icon is displayed, instead of scanning for the next image source to use.

so i take it this was never implemented


EDIT: when you disable "show folder thumbnails" you see the folder icons the way windows explorer sees it (which is what i want), however it can not stretch the image higher then 256x256, if you enable "show folder thumbnails" with the "zoom to fit" option (which bypasses the 256x256 limit), it scans for the first image source (.ico > .jpg > no image found = default folder icon)

Re: How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 04 Mar 2024 10:27
by admin
Since beta version v25.60.0002 it can be done, but you have to manually tweak the XYplorer.ini file:

Code: Select all

FolderThumbsShell=0
FolderThumbsDesktopIni=0
FolderThumbsAllImages=0
FolderThumbsAllVideos=0
FolderThumbsCustomExtensions=ico
:info: How to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak

Re: How to Exclude Image Source To Be Used For Folder Thumbnail?

Posted: 04 Mar 2024 10:29
by quickques01
so i got to get the beta then, thanks i'll check it out

edit: by the way i take it this will be introduced in the 25.70 version, whenever it's ready, any planned dates?