Page 1 of 5

Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 29 Mar 2023 05:55
by zhaowu
Thumbnails of filetypes including svg, eps, ai show in Windows Explorer but XYplorer. Why and how to fix it?

Image

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 29 Mar 2023 15:25
by admin
Ah, interesting. I will add those extensions to the next factory defaults.

To make it work now you can edit the INI file if you like:

1) Run this script through the XYplorer address bar: editconf , "Thumbs64Ext";

You now should see this:

Code: Select all

Thumbs64Ext=afphoto.afdesign.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx
2) press F2 to edit this key, and simply append your extensions to it like this:

Code: Select all

Thumbs64Ext=afphoto.afdesign.afpub.c4d.epub.layout.mobi.skp.sldasm.slddrw.sldprt.xar.3mf.fbx.ai.eps.svg
3) Press ENTER to commit the change and OK to close the Edit File dialog.

4) Now select menu command File | Restart without Saving.

The thumbnails should work now.

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 29 Mar 2023 19:21
by zhaowu
It doesn't work. I double checked the editconf , "Thumbs64Ext"; for the Thumbs64Ext value. I can even see the preview from Hoverbox, but the thumbnails are not showing. I tried to refresh thumbnails and move the images to different drives. They just work in Windows Explorer but XYplorer.
Image

PS: svg thumbnails in Windows Explorer require [PowerToys File Explorer add-ons utility for Windows | Microsoft Learn](https://learn.microsoft.com/en-us/windo ... e-explorer) to work.

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 08:42
by admin
1) What are your settings here, ticked or unticked?

Configuration | Preview | Thumbnails | Show thumbnails for non-images
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | Fall back to preview handlers of the other bitness

2) What kind of path is this? Local, Removable, UNC, Portable Device?

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 09:51
by zhaowu
admin wrote: 30 Mar 2023 08:42 1) What are your settings here, ticked or unticked?

Configuration | Preview | Thumbnails | Show thumbnails for non-images
Configuration | Other | Shell Integration | 64-bit Windows | Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | Fall back to preview handlers of the other bitness
All 3 options are ticked.
admin wrote: 30 Mar 2023 08:42 2) What kind of path is this? Local, Removable, UNC, Portable Device?
Local Drive.

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 10:23
by zhaowu
For the svg files, the hover preview is not working at first. After I add svg to `Preview Formats| Preview as Thumbnails`, it shows up. Does this mean XYplorer can get the thumbnail correctly for preview? Attached is the cached thumbnail files for the referred folder. Don't know if it is helpful.

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 11:22
by admin
Yes, if the Hover Box works then XY can extract the thumbnail. The question now is, why doesn't it happen for the thumbnails view.

Select one of your problem files, then run each of these lines through the address bar (paste and press ENTER):

Code: Select all

preview , t;
preview , te32;
preview , tf32;
preview , tf64;
Which work, which don't work?

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 11:56
by Horst
For me this 2 works
preview , tf32;
preview , tf64;

The normal preview is fine but the Hoverbox doesn't show anything.
Here my test file
Steps.zip
(4.8 KiB) Downloaded 163 times
Explorer has no problem to show thumbnails of it.

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 12:04
by admin
Add it to Configuration | Preview | Previewed Formats | Categories | Preview as Thumbnail.

PS: In the next beta the above will not be necessary anymore.

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 12:39
by zhaowu
admin wrote: 30 Mar 2023 11:22

Code: Select all

preview , t;
preview , te32;
preview , tf32;
preview , tf64;
Which work, which don't work?
Test on avg, ai, and eps filetypes, all 4 preview code snippets work except that preview , te32; is not working for svg.

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 12:45
by zhaowu
Horst wrote: 30 Mar 2023 11:56 For me this 2 works
preview , tf32;
preview , tf64;

The normal preview is fine but the Hoverbox doesn't show anything.
Here my test file
Steps.zip

Explorer has no problem to show thumbnails of it.
For me, besides the two you mentioned, preview , t; works too.
Image

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 12:48
by Horst
admin wrote: 30 Mar 2023 12:04 Add it to Configuration | Preview | Previewed Formats | Categories | Preview as Thumbnail.

PS: In the next beta the above will not be necessary anymore.
If I do that, nothing works.
The normal preview says "Cannot preview"
The Hover box says "Cannot decode"

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 15:06
by admin
Just to make sure, I repeat: If any of these lines produces an image on the preview pane, then a thumbnail and a Hover Box can definitely be shown for that file:

Code: Select all

preview , t;
preview , te32;
preview , tf32;
preview , tf64;
At the moment I cannot really see why this should not work. :? It all depends on the settings. With the latest beta it should indeed work out of the box*. Please test a fresh instance when I upload v24.20.0510.

* You have to enable Configuration | Information | File Info Tips & Hover Box | Show Hover Box and "Web Files" in Configuration | Information | File Info Tips & Hover Box | Show Hover Box | Select Item Types....

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 17:30
by Horst
The status and the errors where as I said.

Now with the new version all is fine :D
Hoverbox works
Preview pane works
Thumbnails work

Re: Thumbnails of some filetypes show in Windows Explorer but XYplorer

Posted: 30 Mar 2023 17:32
by zhaowu
admin wrote: 30 Mar 2023 15:06 Just to make sure, I repeat: If any of these lines produce an image on the preview pane, then a thumbnail and a Hover Box can definitely be shown for that file:

Code: Select all

preview , t;
preview , te32;
preview , tf32;
preview , tf64;
At the moment I cannot really see why this should not work. :? It all depends on the settings. With the latest beta it should indeed work out of the box*. Please test a fresh instance when I upload v24.20.0510.
Great! :biggrin: I finally find the culprit by comparing the XYplorer.ini with the out-of-box install. The problem lies in the ImagePreviewCustomExtensions=.ai.eps.svg. and PreviewAsThumbnailExtensions=.ai.eps.svg settings which was somehow
added long time ago. After removing those filetypes from Preview Formats | Image Files, everything works now.

Thanks again for your hard work and help. I appreciate! Have a wonderful day.