TC IrfanView Plugin

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Stephan1979
Junior Member
Junior Member
Posts: 3
Joined: 2022-03-12, 18:40 UTC

Re: TC IrfanView Plugin

Post by *Stephan1979 »

Dear TC members,
Dear Valery,

thank you very much for your nice plugin.
I really appreciate your work.

When using this plugin in Double Commander, always 2 windows open - one with the image and one empty window.
Is that normal?
Please help me.


Cheers,
Stephan
AkulaBig
Senior Member
Senior Member
Posts: 337
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

Stephan1979 wrote: 2022-03-12, 18:51 UTC Please help me.
The fact is that other interface elements are used in TC clones. And my plans did not include their support. But at the request of one user, I fixed the behavior of the plugin in Free Commander. I'll try to see what can be done in DC.
Stephan1979
Junior Member
Junior Member
Posts: 3
Joined: 2022-03-12, 18:40 UTC

Re: TC IrfanView Plugin

Post by *Stephan1979 »

ah ok.. thank you very much 8)
AkulaBig
Senior Member
Senior Member
Posts: 337
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

Stephan1979 wrote: 2022-03-15, 21:51 UTC
I looked at the opportunity to use my plugin with DC. Surprisingly, DC does not use a windowed procedure. Therefore, I cannot fulfill your request in a simple way. A big code change is needed, which I don't plan on doing in the near future. Although I do not exclude that this is impossible in the future.
AkulaBig
Senior Member
Senior Member
Posts: 337
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

Version 2.52:
* Internal changes.

In fact, support has been added for another clone of the vehicle - Double Commander. The plugin now supports Free Commander and Double Commander. In addition, clone support has been completely redesigned, so theoretically all clones should work.
Officially, I do not describe the support of clans in history, because if this requires serious code changes, I will not work on it.
AkulaBig
Senior Member
Senior Member
Posts: 337
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

Stephan1979 wrote: 2022-03-15, 21:51 UTC
It seems that we managed to solve your problem in a simple way. Try it.
Stephan1979
Junior Member
Junior Member
Posts: 3
Joined: 2022-03-12, 18:40 UTC

Re: TC IrfanView Plugin

Post by *Stephan1979 »

oh yeah it works.. :D :D :D
thank you very very much
Li Yongzhen
Junior Member
Junior Member
Posts: 61
Joined: 2010-04-04, 10:46 UTC

v2.52 can not work in TC X32bit

Post by *Li Yongzhen »

when i press F3 on png, there was a error occured in version x32bit: invalid application path!

my configuration in D:\Totalcmd\AddIns\wlx\TCIrfanView\i_view32.ini:
StartFolder=%COMMANDER_PATH%\AddIns\wlx\TCIrfanView
AkulaBig
Senior Member
Senior Member
Posts: 337
Joined: 2021-09-09, 17:28 UTC

Re: v2.52 can not work in TC X32bit

Post by *AkulaBig »

Li Yongzhen wrote: 2022-03-22, 16:04 UTC when i press F3 on png, there was a error occured in version x32bit: invalid application path!

my configuration in D:\Totalcmd\AddIns\wlx\TCIrfanView\i_view32.ini:
StartFolder=%COMMANDER_PATH%\AddIns\wlx\TCIrfanView
i_view32.ini is the IrfanView configuration file. It should be in the folder D:\Totalcmd\AddIns\wlx\TCIrfanView\IrfanView\i_view32.ini In the archive of my plugin, it is located there. The location of the program is set in the irfanview.ini file You have it on the path D:\Totalcmd\AddIns\wlx\TCIrfanView\irfanview.ini You need to download the IrfanView program and put it in a folder D:\Totalcmd\AddIns\wlx\TCIrfanView\IrfanView Everything is described in detail in the file Readme.txt
Li Yongzhen wrote: 2022-03-22, 16:04 UTC my configuration in D:\Totalcmd\AddIns\wlx\TCIrfanView\i_view32.ini:
StartFolder=%COMMANDER_PATH%\AddIns\wlx\TCIrfanView
I do not know such a parameter and it should not be in the i_view32.ini file.
Li Yongzhen
Junior Member
Junior Member
Posts: 61
Joined: 2010-04-04, 10:46 UTC

Re: TC IrfanView Plugin

Post by *Li Yongzhen »

ok, done. thanx
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

Hi,

I managed to perform the setup of the two TC IrfanView plugins. Basically everything works fine!
However, I would like to ask if there might be some improvement with the following constellations.

The plugins are processed from top to bottom: Configuration -> Lister Plugins...
- Open F3 Lister (irfanview) - TC IrfanView Plugin 1.71 <= in the first place
  Configuration -> Lister Plugins: %COMMANDER_PATH%\Plugins\wlx\TCIrfanView_1.71\IrfanView.wlx
- Press 4 (4 Bild/Multimedia) - TC IrfanView Plugin 2.53 <= in second place
  Configuration -> Lister Plugins: %COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView.wlx

F3 displays the image in the lister:
...\Screenshot_20220628-130241.jpg - IrfanView

Pressing number 4 opens the image directly in IrfanView and the Lister window is automatically closed.

However, if this plugin order is chosen,
- %COMMANDER_PATH%\Plugins\wlx\TCIrfanView_1.71\IrfanView.wlx <= 1st position
- %COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView.wlx ..... <= 2nd position

... the following happens with F3 Lister (irfanview):
1. Lister window keeps losing focus.
2. In IrfanView's own toolbar, only the color black is displayed for grayed-out button elements.

I would really like this workflow - is there anything else that can be done about it?
Hints:
- If only TC IrfanView Plugin 1.71 is installed! - (Point 1. and 2.)

1. If in Total Commander first the quick view Ctrl+Q is called
    and afterwards the F3 Lister (irfanview) - window (separate task)
    (for example after pressing 4 to display the picture with another plugin, e.g. Imagine),
    then the aforementioned problems usually occur as well.

2. The best way to see the effect is to place another plugin, like "PhotoViewer" or "Imagine"
    under Configuration - Lister plugins ABOVE the TC IrfanView Plugin 1.71.
    F3 Lister first calls the lister plugin "Photoviewer" in a separate window,
    after pressing 4 the view of TC IrfanView Plugin 1.71 is opened:
    - The focus from the Lister window is gone
    - The IrfanView toolbar is only partially displayed.
      Only in very rare cases it is displayed completely.

This behavior does not exist with other plugins, e.g. Imagine, PhotoViewer, etc.

3. If one positions the focus on the opposite TC window with Ctrl+Q - Quick View via Tab key, then it is possible,
    to get the preview with other plugins - which are suitable for the file type(!) - by pressing the number 4 several times.
    Examples: Plugins "Imagine", "PhotoViewer", etc.

    Usually it is enough to press the "F" key in the other window to adjust the image to the window size
    or press the "F" key again to get a partial section of the image (enlarged view).
    Unfortunately, this function is not yet available in TC IrfanView Plugin 1.71.
    Could this perhaps still be incorporated?
Therefore, please check. Thank you!


Windows 11 Pro (x64) Version 21H2 (OS build 22000.778) | TC 10.50RC4 x64/x86
TC IrfanView Plugin 1.71 | TC IrfanView Plugin 2.53 | IrfanView version 4.60
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC IrfanView Plugin

Post by *Horst.Epp »

I don't see any real good reason to play around with this rather complicated plugin.
I have the plugins PhotoViewer, Imagine and SGView (in this priority) installed.
With this setup I can show all sort of images in high quality without problems.
In addition I have a button which invokes IrfanView for the current file.
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
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

Horst.Epp wrote: 2022-07-01, 15:52 UTC I don't see any real good reason to play around with this rather complicated plugin.
I have the plugins PhotoViewer, Imagine and SGView (in this priority) installed.
With this setup I can show all sort of images in high quality without problems.
In addition I have a button which invokes IrfanView for the current file.
Mmmh, I have to disagree on two points:
1. It is not complicated if you know how to set it up (please see this important setting).

2. Images are displayed in different quality with individual file types in the lister plugins.
    By pressing the number 4 several times you can view ONE IMAGE with different plugins.
    If for example with the TC IrfanView plugin a picture is displayed better than with another plugin,
    then you can also view this file type with your "favorite image viewer" IrfanView.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC IrfanView Plugin

Post by *Horst.Epp »

In a previous version of IrfanView plugin I had major problems
with the ini file of the plugin for IrfanView.
I prefer to have a normal IrfanView ini file with my settings.
Photoviewer and Imagine are enough for all my picture files
and if I still want Irfanview there is my button for it.
I also can force IrfanView usage by setting view mode by file type to 4i.
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
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

Horst.Epp wrote: 2022-07-01, 20:05 UTC In a previous version of IrfanView plugin I had major problems
with the ini file of the plugin for IrfanView.
I prefer to have a normal IrfanView ini file with my settings.
I'm afraid I don't quite understand you.

If you make the setting as above in the linked topic ... please see also below "DECISIVE are these irfanview.ini's...",
... then the OWN irfanview.ini is accessed, namely:

Code: Select all

%COMMANDER_PATH%\Tools\IrfanView-portable\IrfanView\i_view32.ini
=    C:\totalcmd\Tools\IrfanView-portable\IrfanView\i_view32.ini  ......... absolute path at me

%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.ini
=    C:\totalcmd\Tools\IrfanView-portable-64bit\IrfanView\i_view64.ini	... absolute path at me

... and NOT on THESE irfanview.ini's which are installed by the plugin - these are IGNORED(!):

TC IrfanView Plugin 2.53
C:\totalcmd\Plugins\wlx\TCIrfanView\IrfanView\i_view32.ini
C:\totalcmd\Plugins\wlx\TCIrfanView\IrfanView64\i_view64.ini

TC IrfanView Plugin 1.71
C:\totalcmd\Plugins\wlx\TCIrfanView_1.71\IrfanView\i_view32.ini
C:\totalcmd\Plugins\wlx\TCIrfanView_1.71\IrfanView64\i_view64.ini

DECISIVE are these irfanview.ini's, both for TC IrfanView Plugin 2.53 and for TC IrfanView Plugin 1.71,
because in these should/must be specified where the IrfanView program files (i_view32.exe, i_view64.exe) are located.

C:\totalcmd\Plugins\wlx\TCIrfanView\irfanview.ini (TC IrfanView Plugin 2.53)

Code: Select all

[Options]
path64=%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe
path=%COMMANDER_PATH%\Tools\IrfanView-portable\IrfanView\i_view32.exe
C:\totalcmd\Plugins\wlx\TCIrfanView_1.71\irfanview.ini (TC IrfanView Plugin 1.71)

Code: Select all

[Options]
path64=%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe
path=%COMMANDER_PATH%\Tools\IrfanView-portable\IrfanView\i_view32.exe
If I run e.g. the TC IrfanView Plugin 2.53 (Plugin on top in Configuration -> Lister plugins (.WLX)),
i.e. F3 opens the image directly in IrfanView (without Lister), then MY SETTINGS are used in IrfanView!
IrfanView opens with MY SYMBOL LIST and with my registration data.
Post Reply