[solved] Is using IrfanView as Plugin supposed to work?

English support forum

Moderators: white, Hacker, petermad, Stefan2

rachman
Junior Member
Junior Member
Posts: 12
Joined: 2016-10-01, 10:33 UTC

[solved] Is using IrfanView as Plugin supposed to work?

Post by *rachman »

I have read it somewhere that IrfanView 64-bit doesn't support yet as plugin for TC. I just tried TC 9.0a 32-bit with IrfanView 4.44 as plugin on VM Win7 32-bit, but it doesn't seem work. Is it supposed to work with latest version of both software? How to know when it does work? thanks. regards :)
Last edited by rachman on 2017-09-28, 14:34 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, IrfanView 64-bit doesn't work with TC 9.0a because it returns wrong parameters (displaced by 4 bytes because it sends 64-bit handle instead of 32-bit). You can either install IrfanView 32-bit in addition to 64-bit and use it with TC, or try TC 9.10 beta.
Author of Total Commander
https://www.ghisler.com
rachman
Junior Member
Junior Member
Posts: 12
Joined: 2016-10-01, 10:33 UTC

Post by *rachman »

Here is my setting
[img]https://i.imgur.com/Ao07Z2s.png[/img]

Location of IrfanView
[img]https://i.imgur.com/NhsstUv.png[/img]

and here is F3 view example
[img]https://i.imgur.com/M6hmduT.png[/img]

Looks like it doesn't work
I tried this with TC v9.10B2 32-bit on Win 8.1 64-bit
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Made the links clickable:
rachman wrote:Here is my setting
Image: https://i.imgur.com/Ao07Z2s.png

Location of IrfanView
Image: https://i.imgur.com/NhsstUv.png

and here is F3 view example
Image: https://i.imgur.com/M6hmduT.png

Looks like it doesn't work
I tried this with TC v9.10B2 32-bit on Win 8.1 64-bit
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

jpg files are not loaded via Irfanview, TC loads bmp, jpg and gif internally.

If you want to load jpg via IView, you need to add the line
IViewAdditionalTypes=*.jpg
to section [Lister] in wincmd.ini. If it is missing, add it at the end.
Author of Total Commander
https://www.ghisler.com
rachman
Junior Member
Junior Member
Posts: 12
Joined: 2016-10-01, 10:33 UTC

Post by *rachman »

@petermad thank you :)

@ghisler yes, that solved my problem. thank you :)
BlueSky20008
Junior Member
Junior Member
Posts: 9
Joined: 2019-05-24, 08:48 UTC

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *BlueSky20008 »

I tried with Totalcmd-x86 v9.22a with xnview or iview x86 then IviewAdditionalTypes attribute works well on Windows 10x64.
But when I use Totalcmd-x64 v9.22a with xnview(x86 or x64) or IrfanView (x86 or x64) on Windows 10x64 then it does not work.

Is it a bug or limitation in x64?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *Horst.Epp »

BlueSky20008 wrote: 2019-05-24, 08:54 UTC I tried with Totalcmd-x86 v9.22a with xnview or iview x86 then IviewAdditionalTypes attribute works well on Windows 10x64.
But when I use Totalcmd-x64 v9.22a with xnview(x86 or x64) or IrfanView (x86 or x64) on Windows 10x64 then it does not work.

Is it a bug or limitation in x64?
Not a bug nor limitation.
It works fine here with actual x64 version of IrfanView
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
BlueSky20008
Junior Member
Junior Member
Posts: 9
Joined: 2019-05-24, 08:48 UTC

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *BlueSky20008 »

Horst.Epp wrote: 2019-05-24, 11:26 UTC
BlueSky20008 wrote: 2019-05-24, 08:54 UTC I tried with Totalcmd-x86 v9.22a with xnview or iview x86 then IviewAdditionalTypes attribute works well on Windows 10x64.
But when I use Totalcmd-x64 v9.22a with xnview(x86 or x64) or IrfanView (x86 or x64) on Windows 10x64 then it does not work.

Is it a bug or limitation in x64?
Not a bug nor limitation works fine here with actual x64 version of IrfanView
I have 2 PCs and they cannot work with totalcdm x64 on Win10x64 with IrfanView x64. This is my setting in wincmd.ini
[Lister]
IView=1
IViewPath=%COMMANDER_PATH%\PortableApps\iview\i_view64.exe
IViewAdditionalTypes=*.jpg *.png *heic *.bmp


I tried totalcmd x86 with IrfanView x86 then it works well
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *Horst.Epp »

BlueSky20008 wrote: 2019-05-25, 14:04 UTC
Horst.Epp wrote: 2019-05-24, 11:26 UTC
BlueSky20008 wrote: 2019-05-24, 08:54 UTC I tried with Totalcmd-x86 v9.22a with xnview or iview x86 then IviewAdditionalTypes attribute works well on Windows 10x64.
But when I use Totalcmd-x64 v9.22a with xnview(x86 or x64) or IrfanView (x86 or x64) on Windows 10x64 then it does not work.

Is it a bug or limitation in x64?
Not a bug nor limitation works fine here with actual x64 version of IrfanView
I have 2 PCs and they cannot work with totalcdm x64 on Win10x64 with IrfanView x64. This is my setting in wincmd.ini
[Lister]
IView=1
IViewPath=%COMMANDER_PATH%\PortableApps\iview\i_view64.exe
IViewAdditionalTypes=*.jpg *.png *heic *.bmp


I tried totalcmd x86 with IrfanView x86 then it works well
May be a problem with your portable apps version of IrfanView ?
There is no need for any portabel apps with IrfanView, it has its own portable version.
Also I see a missing "." for heic files in your IViewAdditionalTypes line.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
BlueSky20008
Junior Member
Junior Member
Posts: 9
Joined: 2019-05-24, 08:48 UTC

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *BlueSky20008 »

Horst.Epp wrote: 2019-05-25, 14:31 UTC
BlueSky20008 wrote: 2019-05-25, 14:04 UTC
Horst.Epp wrote: 2019-05-24, 11:26 UTC
Not a bug nor limitation works fine here with actual x64 version of IrfanView
I have 2 PCs and they cannot work with totalcdm x64 on Win10x64 with IrfanView x64. This is my setting in wincmd.ini
[Lister]
IView=1
IViewPath=%COMMANDER_PATH%\PortableApps\iview\i_view64.exe
IViewAdditionalTypes=*.jpg *.png *heic *.bmp


I tried totalcmd x86 with IrfanView x86 then it works well
May be a problem with your portable apps version of IrfanView ?
There is no need for any portabel apps with IrfanView, it has its own portable version.
Also I see a missing "." for heic files in your IViewAdditionalTypes line.
PortableApps folder is only name I named. I download portable version of Irfanview from its site.
We can bypass *heic because rarely have heic files. I only press F3 and Crtl+Q for png/jpg file
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *ghisler(Author) »

Are you perhaps running Total Commander x64 with elevated rights (As Administrator)? Then the communication with Irfanview/Xnview will not work if it was already open.
Author of Total Commander
https://www.ghisler.com
BlueSky20008
Junior Member
Junior Member
Posts: 9
Joined: 2019-05-24, 08:48 UTC

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *BlueSky20008 »

I always run totalcmd x64 with normal mode but it always use Imagine plugin to view with F3 and Ctrl+Q instead of IrfanView/iview in setting
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *ghisler(Author) »

Yes, plugins take precedence over loading via Irfanview/Xnview.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: [solved] Is using IrfanView as Plugin supposed to work?

Post by *DrShark »

BlueSky20008 wrote: 2019-05-28, 03:30 UTC IViewAdditionalTypes=*.jpg *.png *heic *.bmp
...
I always run totalcmd x64 with normal mode but it always use Imagine plugin to view with F3 and Ctrl+Q instead of IrfanView/iview in setting
Try to add in [Lister] section also:

Code: Select all

NoPluginFileTypes=*.jpg *.png *.heic *.bmp
This way TC should use internal viewer at first, and use plugin only after pressing "4" key.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply