lister not showing avif images with spaces in the filename
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 3
- Joined: 2004-12-29, 14:24 UTC
lister not showing avif images with spaces in the filename
In lister (tab Multimedia):
use irfanview is checked (path is set to irfanview 4.72 x64)
*.avif is set as additional file type
In tcmd I press F3 on an avif file (with the name a.avif) and lister shows the image.
If I rename that file to a name with spaces in it - for example "a b.avif" - and I press F3 listers shows the binary content and I'm unable to switch to "' 4 image/multimeda".
Any idea what could be the reason for this?
TCMD x64 11.55 RC5
use irfanview is checked (path is set to irfanview 4.72 x64)
*.avif is set as additional file type
In tcmd I press F3 on an avif file (with the name a.avif) and lister shows the image.
If I rename that file to a name with spaces in it - for example "a b.avif" - and I press F3 listers shows the binary content and I'm unable to switch to "' 4 image/multimeda".
Any idea what could be the reason for this?
TCMD x64 11.55 RC5
Re: lister not showing avif images with spaces in the filename
Confirmed. Good question. It seems to happen when the filename contains a space, the extension starts with avi and the format is an .avif file.
Re: lister not showing avif images with spaces in the filename
Nope. Extension starts with "a" - any word can't start with 3 letters, just ONE.white wrote: 2025-06-06, 23:49 UTC Confirmed. Good question. It seems to happen when the filename contains a space, the extension starts with avi and the format is an .avif file.

Re: lister not showing avif images with spaces in the filename
I never said "letter", but if it confuses you then perhaps this is clearer:Gral wrote: 2025-06-07, 04:49 UTC Nope. Extension starts with "a" - any word can't start with 3 letters, just ONE.![]()
BTW, I suspect that the issue is caused by a bug in Irfanview or Irfanview's AVIF plugin.It seems to happen when the filename contains a space, the extension starts with the text "avi" and the format is an .avif file.
Re: lister not showing avif images with spaces in the filename
Hmm, I made a copy of two *.avif image files and then renamed them to “a b.avif”
The preview was possible for both files with TC IrfanView Plugin 1.17 (x86, x64)
and IrfanView 4.72 - 64 bit and 32 bit as well as TC 11.55RC5 (x64, x86).
First, the preview was displayed in the “Imagine” plugin (*.AVIF;*.xcf;*.heic;*.mng -> Imagine.wlx),
then (after pressing the digit 4) in the “Internal (no plugins)” plugin, and finally, after pressing the digit 4
in Lister (irfanview).
EDIT:
A preview of the file “a b c.avif” cannot be displayed with IrfanView.
(It can be displayed with the “Imagine” plugin).
EDIT2:
After working several times previously(!),
it is now NO LONGER possible to preview the file “a b.avif” in Lister (irfanview)!
Additional Irfanview/Xnview file types:
*.icl *.ico *.ccx *.dds *.heic *.xcf *.rw2 *.svg *.wdp *.webp *.arw *.avif
(Over the last two days, I've had several TC crashes related to plugins, such as plugin removal
and today plugin installation).
The preview was possible for both files with TC IrfanView Plugin 1.17 (x86, x64)
and IrfanView 4.72 - 64 bit and 32 bit as well as TC 11.55RC5 (x64, x86).
First, the preview was displayed in the “Imagine” plugin (*.AVIF;*.xcf;*.heic;*.mng -> Imagine.wlx),
then (after pressing the digit 4) in the “Internal (no plugins)” plugin, and finally, after pressing the digit 4
in Lister (irfanview).
EDIT:
A preview of the file “a b c.avif” cannot be displayed with IrfanView.
(It can be displayed with the “Imagine” plugin).
EDIT2:
After working several times previously(!),
it is now NO LONGER possible to preview the file “a b.avif” in Lister (irfanview)!
Additional Irfanview/Xnview file types:
*.icl *.ico *.ccx *.dds *.heic *.xcf *.rw2 *.svg *.wdp *.webp *.arw *.avif
(Over the last two days, I've had several TC crashes related to plugins, such as plugin removal
and today plugin installation).
Last edited by tuska on 2025-06-07, 11:11 UTC, edited 2 times in total.
Re: lister not showing avif images with spaces in the filename
This thread is not about using a plugin, but using the Irfanview program directly. Total Commander starts Irfanview with option /hidden and sends the filename with WM_COPYDATA to the hidden Irfanview window. Irfanview then sends the entire decoded image (as a BMP) via WM_COPYDATA to TC.tuska wrote: 2025-06-07, 10:12 UTC The preview was possible for both files with TC IrfanView Plugin 1.17 (x86, x64)
and IrfanView 4.72 - 64 bit and 32 bit as well as TC 11.55RC5 (x64, x86).
Re: lister not showing avif images with spaces in the filename
Error not confirmed !
If I remove *.avif from TC settings (Additional IrfanView file types:) the file is shown as text.
Adding *.avif shows the correct image in IrfanView Internal from Lister.
The name tested is "AVIF Test picture.avif"
IrfanView version is 4.72 64-Bit
If I remove *.avif from TC settings (Additional IrfanView file types:) the file is shown as text.
Adding *.avif shows the correct image in IrfanView Internal from Lister.
The name tested is "AVIF Test picture.avif"
IrfanView version is 4.72 64-Bit
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC6 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.3 x64
TC 11.55 RC6 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.3 x64
Re: lister not showing avif images with spaces in the filename
Hmm.. If I test it on Windows Sandbox, it works too. But it doesn't work on my real system. I tried with new ini and tried removing Irfanview and installing it again, also in a folder with write access. Didn't matter. I haven't been able to pinpoint what is causing this.
Re: lister not showing avif images with spaces in the filename
I can view any .avif (either with spaced or solid paths/names) in IrfanView using Alt+F3.
However, it displays only a file under the cursor and cannot see other files in a folder (previous/next navigation is inactive).
The latter is true not only for the IrfanView under Total Commander but also when I run it in standalone mode, though.
Note: Imagine doesn't have any issues here, both as a TC plugin or a standalone app.
Also:
However, it displays only a file under the cursor and cannot see other files in a folder (previous/next navigation is inactive).
The latter is true not only for the IrfanView under Total Commander but also when I run it in standalone mode, though.
Note: Imagine doesn't have any issues here, both as a TC plugin or a standalone app.
Also:
I use some sample files from here: https://github.com/link-u/avif-sample-imagesghisler(Author) wrote: 2022-06-26, 08:54 UTC Irfanview doesn't return a preview image for some file types to TC, mostly videos. Maybe it considers AVIF a video format because it can contain multiple images as a sequence? I haven't tested it myself because I don't have any AVIF files.
Last edited by beb on 2025-06-07, 15:35 UTC, edited 1 time in total.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 16
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 16
Re: lister not showing avif images with spaces in the filename
This thread isn't about when you use Irfanview as an alternative viewer. It's about the option "Use Irfanview/Xnview to load graphics other than BMP".beb wrote: 2025-06-07, 15:28 UTC I can view any .avif (either with spaced or solid paths/names) in IrfanView using Alt+F3.
Re: lister not showing avif images with spaces in the filename
I've made the quoted message because the said option is active in my TC setup, but it doesn't work.white wrote: 2025-06-07, 15:33 UTC It's about the option "Use Irfanview/Xnview to load graphics other than BMP".
By the way, the thread title doesn't reflect the claimed narrowed target thematics so far.
#278521 User License
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 16
Total Commander [always the latest version, including betas] x86/x64 on Win10 x64/Android 16
Re: lister not showing avif images with spaces in the filename
But the question described in the first post is very specific. Can you test that and post the result?beb wrote: 2025-06-07, 15:41 UTC By the way, the thread title doesn't reflect the claimed narrowed target thematics so far.
Re: lister not showing avif images with spaces in the filename
Configuration > Options... > Edit/View > Configure internal viewer... > tab "Multimedia" >white wrote: 2025-06-07, 15:33 UTC It's about the option "Use Irfanview/Xnview to load graphics other than BMP".
-
- Additional Irfanview/Xnview file types: *.icl *.ico *.ccx *.dds *.heic *.xcf *.rw2 *.svg *.wdp *.webp *.arw *.avif
If the option “Use Irfanview/Xnview for graphics other than BMP” is UNCHECKED,
then these files with spaces can be displayed with Lister (irfanview) - 32 Bit & 64 Bit:
a b.avif
a b c.avif
The mostly encrypted text that was previously displayed in the
“Lister - [C:\totalcmd\...\a b.avif]” window no longer appears with this setting,
but instead the “Play” button, etc. appears in the footer.
Re: lister not showing avif images with spaces in the filename
I could narrow it down further. It only happens on drives where 8dot3 name creation is enabled. (That's why the issue did not occur on Windows Sandbox.)
I looked with process monitor at what i_view64.exe does and saw that it first uses long filename and then short filename. In my case the short filename "171892~1.AVI" was used. Notice the filename extension. This is probably causing a file type mismatch by the Irfanview plugin, causing the decoding to fail.
I looked with process monitor at what i_view64.exe does and saw that it first uses long filename and then short filename. In my case the short filename "171892~1.AVI" was used. Notice the filename extension. This is probably causing a file type mismatch by the Irfanview plugin, causing the decoding to fail.
Re: lister not showing avif images with spaces in the filename
I have completely different questions: How did you manage to achieve any display at all through this combination? Total + IrfanView?
Total, when trying to watch without plugins in the 'bare' version, shows textual view. When trying to connect and view through IrfanView,
it attempts to open this file as a VIDEO file, switching to 4 viewing modes in the Lister! But since there is no real sequence of video
frames, no duration, it simply shows a black rectangle. It seems like this is the first and only frame.
IrfanView itself is capable of showing this file.
Total, when trying to watch without plugins in the 'bare' version, shows textual view. When trying to connect and view through IrfanView,
it attempts to open this file as a VIDEO file, switching to 4 viewing modes in the Lister! But since there is no real sequence of video
frames, no duration, it simply shows a black rectangle. It seems like this is the first and only frame.
IrfanView itself is capable of showing this file.
#146217 personal license