WEBP in Lister

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

kes
Junior Member
Junior Member
Posts: 19
Joined: 2007-08-03, 03:10 UTC

Re: WEBP in Lister

Post by *kes »

MichelBeauchamp wrote: 2019-08-02, 01:30 UTC OK... thought I would try this myself since I am living this problem even 4 years down the road with the latest TC version.

As proposed here, modifying the wincmd.ini at the [Lister] position did not work... I tried a few mods to no avail. And then it hit me, why do we stick the mod down there if we are trying to modify IrfanView (since that is what TC is calling for).

So instead, I re-opened a fresh version of wincmd.ini (I had saved a copy before modifying anything), and went around the Irfanview area of the wincmd.ini file and added the line thus :

RTF=1
IView=1
IViewPath=C:\Program Files\IrfanView\i_view32.exe
IviewAdditionalTypes=*.webp
HTMLasText=1

And it worked right there and then. Verified it was not just the webp file I was testing that was running true, I accessed a full folder of webp files on my drive and all of them had a static preview thumbnail appear in TC, and each file became viewable in Lister as a static picture (the files are all active, gif style, files).

I am not a programmer, and I know that the position isn't always critical within a *.ini file, but it seems that in this case, it is! Hope this helps others! Best Regards.... :D

P.S. Make sure you make the appropriate modifications in the IrfanView settings (you need a plugin in IrfanView for it to read "webby" webp and webm files, before doing the upper mentioned modification in TC for it to fetch IrfanView when required).
I added the lines:

RTF=1
IView=1
IViewPath=C:\Program Files\IrfanView\i_view64.exe
IviewAdditionalTypes=*.webp
HTMLasText=1

TO the [Lister] section of wincmd.ini and everything worked out fine. Note that my version of irfanview is 64 bit so I had to change the name of IViewPath to C:\Program Files\IrfanView\i_view64.exe. I failed to follow your "and went around the Irfanview area of the wincmd.ini file and added the line thus" as I have no idea where the "Irfanview area" you refer to is.

Static images seem fine. Animated ones give a static image using Ctrl-Q but are fully animated using F3.

Animation under Ctrl-Q would be a great thing to have work.
Post Reply