Sorry for the noob question, I spent over an hour trying to figure this out but I can't seem to get it
I want my folder icons to show image contents by default like in file explorer, example: https://i.imgur.com/Y0sYwsL.png
XYplorer shows the folder icon like this: https://i.imgur.com/yPi0fuK.png
I do have "Show folder thumbnails" on which shows a single image, but it uses images I don't want to have on the icon.
In addition to the file explorer style, how could I go about changing the png/jpeg used on the folder? Screenshot: https://i.imgur.com/cwX4uqs.png
Hope this is clear. Thank you.
Changing image within folder icon
-
- Posts: 195
- Joined: 21 Oct 2020 23:33
- Location: Through the Looking-Glass
Re: Changing image within folder icon
I believe the image displayed is the first image when you sort the folder by name.
So what you could do is have an image titled "_cover.png" in the root of the target folder and it should show up as the cover image, at-least it does for me.
If you want to see multiple thumbnails, then you'll probably have to make a tool that will generate a bunch of thumbnails for the contents of a folder, combine them into a collage, and then save it as "_cover.png". Sounds like a hassle but if you use python then I believe MPV and pillow would do the job.
So what you could do is have an image titled "_cover.png" in the root of the target folder and it should show up as the cover image, at-least it does for me.
If you want to see multiple thumbnails, then you'll probably have to make a tool that will generate a bunch of thumbnails for the contents of a folder, combine them into a collage, and then save it as "_cover.png". Sounds like a hassle but if you use python then I believe MPV and pillow would do the job.
Re: Changing image within folder icon
If you want to keep the XYplorer style thumbnails then read this info that is contained in the help file:
follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
Alternatively, if you want the Windows Explorer style folder thumbnails then you need to set this tweak:Folder Thumbnails. The file list supports Folder Thumbnails. In Thumbnails view, folders display a
thumbnail of any file in the folder named "folder.*" where * is any of the following image extensions:
jpg, jpeg, png, gif (looked for in that order).
If no "folder.*" is found, the alphabetically first *.jpg (*.jpeg, *.png, *.gif) image in the folder is taken
(if any).
FolderThumbsShell=1
follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
Re: Changing image within folder icon
Thank you! That tweak is what I neededjupe wrote: ↑21 Nov 2021 03:27 If you want to keep the XYplorer style thumbnails then read this info that is contained in the help file:
Alternatively, if you want the Windows Explorer style folder thumbnails then you need to set this tweak:Folder Thumbnails. The file list supports Folder Thumbnails. In Thumbnails view, folders display a
thumbnail of any file in the folder named "folder.*" where * is any of the following image extensions:
jpg, jpeg, png, gif (looked for in that order).
If no "folder.*" is found, the alphabetically first *.jpg (*.jpeg, *.png, *.gif) image in the folder is taken
(if any).
FolderThumbsShell=1
follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
Hmm wish I could retain the file names, only a mild inconvenience though.
I'm not versed in programming, but the tweak did the trick.WirlyWirly wrote: ↑21 Nov 2021 03:18 I believe the image displayed is the first image when you sort the folder by name.
So what you could do is have an image titled "_cover.png" in the root of the target folder and it should show up as the cover image, at-least it does for me.
If you want to see multiple thumbnails, then you'll probably have to make a tool that will generate a bunch of thumbnails for the contents of a folder, combine them into a collage, and then save it as "_cover.png". Sounds like a hassle but if you use python then I believe MPV and pillow would do the job.