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
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

AkulaBig wrote: 2023-06-08, 15:24 UTC
tuska wrote: 2023-06-08, 14:26 UTC Normally there is no need for two installation versions for one plugin (or I haven't come across that yet).
You're absolutely right. Two versions of the same plugin are completely unnecessary.
There is a misunderstanding.
I meant I don't know of any plugin that allows 2 installations ways.

With your plugin one can either
a) fill out the irfanview.ini ... OR ...
b) the "IrfanView" or "IrfanView64" folders are filled
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

AkulaBig wrote: 2023-06-08, 15:24 UTC Corrected 2.58b. I have several plugins, so I want to unify the code for them. But it doesn't work. Check the performance:
https://drive.google.com/file/d/19kTXWS3YfvmlDd6Ed8Pf_urhRDtizAFS/view?usp=sharing
Yes, now that's something different - now I understand the plugin :)
(It must have been my poor English that I didn't see through earlier).

Ctrl+Q works now!
F3 Lister calls IrfanView directly.

During installation, the version no. 2.57 is still displayed instead of 2.58.

Thank you for your efforts!
AkulaBig
Senior Member
Senior Member
Posts: 381
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

tuska wrote: 2023-06-08, 15:39 UTC b) the "IrfanView" or "IrfanView64" folders are filled
You're right. I wanted to give a description of the simplest way to install the plugin, when the IV is placed in the \IrfanView(64) subfolders. That's what I create them for. Then there is no need to register anything in irfanview.ini. And he wrote in the readme "place IV in any folder". That's what I'll fix. Then it turns out 1 option for inexperienced users. Then the ini files IV are in the correct folders. And if the user is advanced, he will use option 2 and place the IV where he likes. Personally, I myself have the IV lying in subfolders. But I only use IV x32, so I have the path [Options] spelled out
path64=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView\i_view32.exe
AkulaBig
Senior Member
Senior Member
Posts: 381
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

tuska wrote: 2023-06-08, 15:51 UTC During installation, the version no. 2.57 is still displayed instead of 2.58.
Now I will post a release with the correct numbers and a corrected readme.
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

Can you please mention with version 2.x either on the web page or in the Readme.txt,
that you can also use Ctrl+Q. This has unfortunately escaped me until now.
AkulaBig
Senior Member
Senior Member
Posts: 381
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

Version 2.58:
* internal changes.
tuska wrote: 2023-06-08, 16:33 UTC Can you please mention with version 2.x either on the web page or in the Readme.txt,
that you can also use Ctrl+Q. This has unfortunately escaped me until now.
Re-read the readme in the plugin installation part. Is the installation clear now? By the way, I wrote about Ctrl+Q, although it should be clear.
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

AkulaBig wrote: 2023-06-08, 17:20 UTC Version 2.58:
* internal changes.
tuska wrote: 2023-06-08, 16:33 UTC Can you please mention with version 2.x either on the web page or in the Readme.txt,
that you can also use Ctrl+Q. This has unfortunately escaped me until now.
Re-read the readme in the plugin installation part. Is the installation clear now?
By the way, I wrote about Ctrl+Q, although it should be clear.
Thanks for the new version! :)
So far everything is clear for me.

Subsequently, I still noticed the following:
If both plugins are installed (1.8.4 and 2.58) and plugin 2.58 has priority and is 1 line above
Plugin 1.8.4, then Ctrl+Q will show the preview in the other window, press TAB,
press digit 4 ... changes to plugin preview of 1.8.4: preview is EMPTY, press digit 4 again:
Switch to the next plugin -> "photoviewer" can show the preview, press digit 4 again:
Switch to the next plugin -> "imagine" can show the preview.

Unfortunately I didn't notice this before.
But this effect can only be achieved if both plugins are installed.
AkulaBig
Senior Member
Senior Member
Posts: 381
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

tuska wrote: 2023-06-08, 17:45 UTC Thanks for the new version! :)
So far everything is clear for me.
And thank you very much! Thanks to you, I was able to make a clear description, and this is very important. It was very difficult to understand you because of the translator, but we figured it out anyway.
tuska wrote: 2023-06-08, 17:45 UTC But this effect can only be achieved if both plugins are installed.
Good. I'll try to figure it out.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6527
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC IrfanView Plugin

Post by *Horst.Epp »

tuska wrote: 2023-06-08, 17:45 UTC ...
Unfortunately I didn't notice this before.
But this effect can only be achieved if both plugins are installed.
I don't see any reason to have both plugins at the same time.
Its just for testing and then such effects doesn't matter.
Most users will not install 2 plugins doing the same job.
The 1.8.4 supports all Lister and IrfanView functions.
The 2.x line doesn't have any advantages.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3672)
TC 11.03 x64 / x86
Everything 1.5.0.1378a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

Horst.Epp wrote: 2023-06-08, 18:13 UTC I don't see any reason to have both plugins at the same time.
I agree.
However, I wanted to have this point mentioned.
I had actually expected that the issue would not be pursued any further.
Horst.Epp wrote: 2023-06-08, 18:13 UTC The 2.x line doesn't have any advantages.
I don't agree.
I think it's a matter of taste (keypress, mouse click, what use takes place).

https://totalcmd.net/plugring/TCIrfanView.html  TC IrfanView Plugin 1.8.4 - 6.6.2023  Ctrl+Q, F3 Lister (irfanview)
https://totalcmd.net/plugring/TCIrfanViewPlugin_2.0.html TC IrfanView Plugin 2.58  - 8.6.2023  Ctrl+Q, F3 opens image in IrfanView
Last edited by tuska on 2023-06-08, 18:25 UTC, edited 1 time in total.
AkulaBig
Senior Member
Senior Member
Posts: 381
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

tuska wrote: 2023-06-08, 17:45 UTC But this effect can only be achieved if both plugins are installed.
https://drive.google.com/file/d/1SrseKQJAM3iZc6o5ig8aLCeSa9ChqRfr/view?usp=sharing Look, has the bug disappeared?
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

AkulaBig wrote: 2023-06-08, 18:24 UTC
tuska wrote: 2023-06-08, 17:45 UTC But this effect can only be achieved if both plugins are installed.
https://drive.google.com/file/d/1SrseKQJAM3iZc6o5ig8aLCeSa9ChqRfr/view?usp=sharing Look, has the bug disappeared?
Yes! :D
AkulaBig
Senior Member
Senior Member
Posts: 381
Joined: 2021-09-09, 17:28 UTC

Re: TC IrfanView Plugin

Post by *AkulaBig »

tuska wrote: 2023-06-08, 18:29 UTC Yes! :D
This is called improved code. There was a working code. It was necessary to insert one block of creating an ini file. Along the way, I decided to improve the code a little. As a result, I broke everything :)
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

Thank you for TC IrfanView Plugin 2.59 :D

Thus we have...
https://totalcmd.net/plugring/TCIrfanView.html  TC IrfanView Plugin 1.8.4 - 6.6.2023  Ctrl+Q, F3 Lister (irfanview)
https://totalcmd.net/plugring/TCIrfanViewPlugin_2.0.html TC IrfanView Plugin 2.59  - 8.6.2023  Ctrl+Q, F3 opens image in IrfanView
User avatar
tuska
Power Member
Power Member
Posts: 3788
Joined: 2007-05-21, 12:17 UTC

Re: TC IrfanView Plugin

Post by *tuska »

2AkulaBig

Due to two forum posts I come back to the topic "Option variant" with file "irfanview.ini".
when using the installation paths "c:\Program Files\" or/and "C:\Program Files (x86)\".

In this case, the information in the "irfanview.ini" file is NOT taken into account(!).
(I have never checked this before, as I have my installations in C:\totalcmd - with write permissions).
The context menu is also not displayed in this constellation ("c:\Program Files\...)".

Example

Code: Select all

[Options]
path64=C:\Program Files\IrfanView_64bit\i_view64.exe
path=C:\Program Files (x86)\IrfanView\i_view32.exe
Details
  • TC Installation: C:\Program Files\totalcmd
    C:\Users\user\AppData\Roaming\GHISLER\wincmd.ini
  • TC Plugin-Installation: c:\Program Files\totalcmd\Plugins\wlx\TCIrfanView\
  • TC Plugin-Installation: irfanview.ini

    Code: Select all

    [Options]
    path64=C:\Program Files\IrfanView_64bit\i_view64.exe
    path=C:\Program Files (x86)\IrfanView\i_view32.exe
  • IrfanView 64bit Installation: C:\Program Files\IrfanView_64bit\
    1. C:\Program Files\IrfanView_64bit\i_view64.ini

      Code: Select all

      [Others]
      INI_Folder=%APPDATA%\IrfanView
    2. C:\Users\user\AppData\Roaming\IrfanView\i_view64.ini
      - OR/AND -
  • IrfanView 32bit Installation: C:\Program Files (x86)\IrfanView\
    1. C:\Program Files (x86)\IrfanView\i_view32.ini

      Code: Select all

      [Others]
      INI_Folder=%APPDATA%\IrfanView
    2. C:\Users\user\AppData\Roaming\IrfanView\i_view32.ini
Please review this option variant.
Thank you!

References:
- plugin irfanview 2.54: how does this plugin actually work???
- ... TC IrfanView Plugin Vorteile? - Forum "„Total Commander (Deutsch)“

One more additional question:
F3 Lister (irfanview) displays an image in the lister.
F2 Rename can only take effect if you have previously clicked in the image.
Is it possible to change this so that renaming is possible immediately after F2?


HISTORY.TXT wrote:14.06.23 Release Total Commander 11.00 beta 7
13.06.23 Added: Lister: React to Shift+F10 or context menu key to show context menu at caret position (if shown),
                         or otherwise end of selection (32/64)
Call the context menu by right-clicking on the image after F3 Lister (irfanview):
Move the cursor away from the context menu -> The title bar displays the path and name of the image again!
Unfortunately only because the context menu is frozen.

Unfortunately the context menu does not work for me in TC 11.00b7 x64 - it is displayed but is frozen.
But it works in TC 11.00b7 x86 and TC 11.00b6 x64 .

See also:
TC11.x bug reports (English) | [11.00b7 x64] Lister - context menu
Post Reply