Issue with Thumbnail View: thumbnails of png files not showed

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *Dalai »

These files seem to be in the OneDrive folder, and are marked with a green checkmark. Not sure if that checkmark means they're offline or to be automatically synched, but that's probably the reason why the thumbnails aren't shown. For TC to be able to create thumbnails it needs to read the complete file - if that file is not stored locally or automatically downloaded on request, there's no way to create a thumbnail. This shouldn't depend on the file type, meaning that files like JPGs, GIFs and so on should also be affected.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *petermad »

2gunterotto
UPDATE: PNG thumbnails only show in certain folders apparently. I had them shown in the work folder I was using (on my D: drive) but they still don't display on the original c:\...\Pictures\Samsung Gallery\DCIM\Screenshots folder where they go by default.
Image: https://imgur.com/GPp67AJ
Are you sure the TAG-HEUR... file is actually downloaded to your onedrive folder, and it is not just in the sky?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
jonathanpoulin
Junior Member
Junior Member
Posts: 28
Joined: 2020-12-19, 12:09 UTC
Location: Saint-Marc-des-Carrières, QC Canada
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *jonathanpoulin »

gunterotto wrote: 2023-12-02, 23:41 UTC UPDATE: PNG thumbnails only show in certain folders apparently. I had them shown in the work folder I was using (on my D: drive) but they still don't display on the original c:\...\Pictures\Samsung Gallery\DCIM\Screenshots folder where they go by default.
Image: https://imgur.com/GPp67AJ

I'd consider this a bug, not a configuration issue, since PNGs display properly with a clean .ini file. Just not in all dirs.
Most unusual...
Hello, I have exactly the same issue described above as well. I am running Total Commander (x64) 11.02 on Windows 11. Anyone managed to fix that?

Thanks
Thanks,
Jonathan Poulin
User avatar
jonathanpoulin
Junior Member
Junior Member
Posts: 28
Joined: 2020-12-19, 12:09 UTC
Location: Saint-Marc-des-Carrières, QC Canada
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *jonathanpoulin »

Hi all,

I found that I have the issue of thumbnails not showing ONLY for .png files AND within my OneDrive Pictures' directory, otherwise it works perfectly.

Do you guys think it may be related to the fact that MS is using reparse points for the OneDrive directory content on local storage?

ref.: https://en.wikipedia.org/wiki/NTFS_reparse_point#OneDrive

I found it by running this PowerShell command:

Code: Select all

Get-Item 'C:\Users\<username>\OneDrive\Pictures\*' -Force | Format-Table Name,Attributes
It produces an output similar to this:

Code: Select all

Name                                                         Attributes
----                                                         ----------
Camera Roll                           ReadOnly, Directory, ReparsePoint
Picture.jpg                                       Archive, ReparsePoint
Hoping it can help fixing it.

Thank you
Jonathan
Thanks,
Jonathan Poulin
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *ghisler(Author) »

Maybe the png files are only available online? I don't have this problem here, png files have thumbnails also in the OneDrive folder.
Author of Total Commander
https://www.ghisler.com
User avatar
gunterotto
Junior Member
Junior Member
Posts: 17
Joined: 2012-05-29, 05:03 UTC

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *gunterotto »

ghisler(Author) wrote: 2023-12-21, 11:18 UTC Maybe the png files are only available online? I don't have this problem here, png files have thumbnails also in the OneDrive folder.
I can confirm what Jonathanpoulin stated, thumbnails do not show "ONLY for .png files AND within my OneDrive Pictures' directory" (anywhere in OneDrive, not just Pictures). I can put that png anywhere else and it will show a thumbnail. I should mention that ALL my files are "Always available on this device", none are cloud-only. (Disk space is cheap nowadays!) Could there be a diff in TC code due to localization??
User license #29286 (1993, v3.53, still have the floppy disk 😁)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *ghisler(Author) »

Does the Explorer show thumbnails there?
Author of Total Commander
https://www.ghisler.com
User avatar
gunterotto
Junior Member
Junior Member
Posts: 17
Joined: 2012-05-29, 05:03 UTC

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *gunterotto »

Yes indeed.
Image: https://imgur.com/gqj31PA
User license #29286 (1993, v3.53, still have the floppy disk 😁)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *ghisler(Author) »

If you have any Lister plugins installed, you can force Total Commander to load the png thumbnails from Explorer:
Configuration - Options - Thumbnails
Change the content of the edit box behind "Get from lister plugins for:" from
*.*
to
*.* | *.png
This way Lister plugins will not be used to extract png thumbnails, so TC should get them the same way as Explorer.

If this also doesn't work, change this string back to *.* and then install a Lister plugin like Imagine which can extract png files, and move it to the top of the lister plugins.
Author of Total Commander
https://www.ghisler.com
allmember
Junior Member
Junior Member
Posts: 5
Joined: 2019-11-26, 02:42 UTC

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *allmember »

Hi, I'm from Thailand (I use google translate)
I've found a solution.
Download "IrfanView" and install it.
https://www.irfanview.com/

on Total Commander
Go to Options > Edit/View.
Press the Configure internal viewer... button.
On the Multimedia tab
Check "Use Irfanview/Xnview to load graphics other than BMP"
Set Path to i_view64.exe (c:\Program Files\IrfanView\i_view64.exe or i_view32.exe)

P.S. I have tried IrfanView as a lister plugin, but it didn't work.
User avatar
gunterotto
Junior Member
Junior Member
Posts: 17
Joined: 2012-05-29, 05:03 UTC

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *gunterotto »

I appreciate the suggestions. I may try some of the workarounds but, as long as Total Commander's "Quick View" keeps working for PNGs it's not such a big deal. My phones and cameras all shoot JPGs so I'm good for now, thanks.
User license #29286 (1993, v3.53, still have the floppy disk 😁)
User avatar
gunterotto
Junior Member
Junior Member
Posts: 17
Joined: 2012-05-29, 05:03 UTC

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *gunterotto »

The plot thickens. Apparently the same issue occurs with JPEG files as with PNG. Even if I take the same JPG image and copy it as a JPEG, Total Commander does not show a thumbnail. Again, this only happens in OneDrive. Please see image...
Image: https://imgur.com/a/IUnyTeP
User license #29286 (1993, v3.53, still have the floppy disk 😁)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *ghisler(Author) »

I have now checked this in the debugger:
1. For jpg files, Total Commander extracts the thumbnail stored within the image file by itself. This also works in the OneDrive folder.
2. For jpeg and png files, Total Commander calls the OLE function IThumbnailProvider->GetThumbnail when there are no Lister plugins to handle jpeg.
This works for files outside of the OneDrive folder, but inside it returns a strange error code 0x8004B205.
There are almost no results for this code (put in double quotes) on Google, except for "WTS_E_EXTRACTIONPENDING".
This seems to indicate that Windows postponed or cancelled the loading of that thumbnail.
Unfortunately there doesn't seem to be a parameter for IThumbnailProvider->GetThumbnail to force-load the thumbnail.

So your options are:
1. Install a Lister plugin which can extract thumbnails
or
2. Install Irfanview and set the path to it in the Lister's configuration.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *Hacker »

Christian,
1. For jpg files, Total Commander extracts the thumbnail [...]
2. For jpeg [...] files, Total Commander calls the OLE function [...]
Totally off-topic for this issue, but why does TC handle JPG and JPEG files differently? Aren't they exactly the same format, just a different extension?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Issue with Thumbnail View: thumbnails of png files not showed

Post by *petermad »

The default file type list for: "Internal thumbnails from images" (ThumbGdiplusTypes) is: *.jpg *.dng *.arw *.crw *.cr2 *.cr3 *.nef *.orf *.pef *.raf *.rw2
Maybe adding *.jpeg to that list solves the problem - and if it does, then *.jpeg should be added to TC's default list.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply