plugin irfanview 2.54: how does this plugin actually work???

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
tuska
Power Member
Power Member
Posts: 3755
Joined: 2007-05-21, 12:17 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *tuska »

With the TC IrfanView Plugin 1.8.2, the file "irfanview.sample.ini" is available after plug-in installation.
The information contained in this file also applies to TC IrfanView Plugin 2.54.
irfanview.sample.ini

Code: Select all

[Options]
Empty section.
File i_view32.exe it is searched in the \IrfanView subfolder of the plugin.
File i_view64.exe it is searched in the \Irfan View 64 subfolder of the plugin.

[Options]
path=C:\IrfanView\i_view32.exe
path64=C:\IrfanView\i_view64.exe

[Options]
path=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView64\i_view64.exe
path to i_view64.exe for path 64= is taken by default (\Irfan View 64).

[Options]
path64=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView\i_view32.exe
path to i_view32.exe for path=, it is taken by default (\IrfanView).

[Options]
Ïóñòàÿ ñåêöèÿ.
Ôàéë i_view32.exe èùåòñÿ â ïîäïàïêå \IrfanView ïëàãèíà.
Ôàéë i_view64.exe èùåòñÿ â ïîäïàïêå \IrfanView64 ïëàãèíà.

[Options]
path=C:\IrfanView\i_view32.exe
path64=C:\IrfanView\i_view64.exe

[Options]
path=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView64\i_view64.exe
ïóòü ê i_view64.exe äëÿ path64= áåðåòñÿ ïî-óìîë÷àíèþ (\IrfanView64).

[Options]
path64=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView\i_view32.exe
ïóòü ê i_view32.exe äëÿ path= áåðåòñÿ ïî-óìîë÷àíèþ (\IrfanView).
I hope this helps to clear up any confusion.
User avatar
tuska
Power Member
Power Member
Posts: 3755
Joined: 2007-05-21, 12:17 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *tuska »

Hopefully a picture says more than a thousand words.
For me, the issue is hereby closed.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *Horst.Epp »

tuska wrote: 2023-05-22, 15:50 UTC Hopefully a picture says more than a thousand words.
For me, the issue is hereby closed.
One note, using the plugin version 1.8.2 or the 2.54 there is no need for a IrfanView 32bit installation.
The path= setting can point to the same x64 Version of IrfanView as the path64= entry
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *AntonyD »

tuska wrote: 2023-05-22, 15:50 UTC Hopefully a picture says more than a thousand words.
For me, the issue is hereby closed.
I would add a few words:))
In fact these marked as "untouched" 2 folders even could be simply deleted(not unpacked - when plug is installing manually)!
#146217 personal license
User avatar
tuska
Power Member
Power Member
Posts: 3755
Joined: 2007-05-21, 12:17 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *tuska »

2Horst.Epp
2AntonyD

Thank you for your additions!
It was my main goal to show WHERE and in which FILE the paths should be added to make the preview work.

(Theoretically I could also have given another example of the second installation variant,
in which the two folders are then required...).
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *DRP535 »

Thank you to all who have tried to help here. My head hurts and I still can't figure out how to get this plugin to work. I'm rapidly approaching the conclusion that any plugin that takes this much effort to get working is not worth the trouble. I'll try one last time by posting my setup and hope someone can give me a simple answer.

Configuration:
TC is installed in: c:\Program Files\Total Commander\
TCIrfanView is installed in: c:\Program Files\Total Commander\plugins\TCIrfanView\
IrfanView is installed in: c:\Program Files (x86)\IrfanView\
I have never had any version of this plugin installed before the current v2.54

I only run the 32bit version of IrfanView. There is no 64bit version. IrfanView's INI file is located with the rest of the program files.
IrfanView is my default handler for all image viewing and I need it to remain that way. I do not want to overwrite IrfanView's INI settings.

My plugin irfanview.ini file looks like this (and doesn't work):

Code: Select all

[Options]
path=c:\Program Files (x86)\IrfanView\i_view32.exe
In the simplest possible, most basic terms imaginable, can someone please tell me what I have to change to make this work?
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *DRP535 »

Horst.Epp wrote: 2023-05-21, 14:56 UTC The plugin works in TC 32bit and TC x64 with the x64 Irfanview.
Does this mean it is NOT possible to have the plugin work with IrfanView 32-bit from within TC x64? If that's true, then this is my problem. I am using TC x64 and Irfanview 32-bit. If that's a fundamentally incompatible combination, then I will simply delete the plugin entirely and not continue to bother trying to make it work.
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *DRP535 »

Horst.Epp wrote: 2023-05-21, 16:05 UTC Its simple enough, double clicking the install archive installes the plugin.
Add the path to your IrfanView installation into the plugins IrfanView.ini
Thats all.
To be fair, I have done exactly this as you've explained, and it simply does not work.
Error. invalid application path!
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *AntonyD »

Code: Select all

[Options]
path=c:\Program Files (x86)\IrfanView\i_view32.exe
path64=c:\Program Files (x86)\IrfanView\i_view32.exe
use this content for irfanview.ini file, placed in c:\Program Files\Total Commander\plugins\TCIrfanView\

And btw - why you have INSTALLED all stuff at c:\Program Files? In nowadays it's so illogical case....
More and more windows developers add the problems with access/permissions/etc for tools, which were installed in that 'user'(( folder.
Use D:\TotalCMD - short and w/o spaces path

Also - maybe because of the spaces in YOURs path to Irfan - you will have to add double quotes for values of both path entries...
I have only monolithic paths in such scenario - I prefer to install progs only in simple folder's names.

All variants:

Code: Select all

[Options]
Empty section. Default state for the freshly installed plugin.
File i_view32.exe is searched in the `\IrfanView` subfolder of the installed plugin.
File i_view64.exe is searched in the `\Irfan View 64` subfolder of the installed plugin.

[Options]
path=C:\IrfanView\i_view32.exe
path64=C:\IrfanView\i_view64.exe

[Options]
path=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView64\i_view64.exe
path to i_view64.exe for 'path64=' is taken by default from `\Irfan View 64` subfolder.

[Options]
path64=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView\i_view32.exe
path to i_view32.exe for 'path=' is taken by default from `\IrfanView` subfolder.
Last edited by AntonyD on 2023-05-24, 11:16 UTC, edited 1 time in total.
#146217 personal license
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *Horst.Epp »

DRP535 wrote: 2023-05-24, 07:37 UTC
Horst.Epp wrote: 2023-05-21, 14:56 UTC The plugin works in TC 32bit and TC x64 with the x64 Irfanview.
Does this mean it is NOT possible to have the plugin work with IrfanView 32-bit from within TC x64? If that's true, then this is my problem. I am using TC x64 and Irfanview 32-bit. If that's a fundamentally incompatible combination, then I will simply delete the plugin entirely and not continue to bother trying to make it work.
It works also for this combination
but you make the fundamental error to set the path variable
and not the path64 entry.
The path variable is used from a 32bit TC and you are using the x64 TC.
So set the path64 entry with the path to your 32bit IrfanView and all is fine.

For interest only, why do you use a 32bit IrfanView on an x64 OS ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *DRP535 »

AntonyD wrote: 2023-05-24, 08:53 UTC

Code: Select all

[Options]
path=c:\Program Files (x86)\IrfanView\i_view32.exe
path64=c:\Program Files (x86)\IrfanView\i_view32.exe
use this content for irfanview.ini file, placed in c:\Program Files\Total Commander\plugins\TCIrfanView\
That works! Thank you.
And btw - why you have INSTALLED all stuff at c:\Program Files? In nowadays it's so illogical case....
Because it's what I'm used to and it's logical to me. Spreading program files all around the place in multiple locations heavily fragmented, makes much less sense to me.
User avatar
AntonyD
Power Member
Power Member
Posts: 1246
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *AntonyD »

Spreading program files all around the place in multiple locations heavily fragmented
so don't do the fragmentation)))
Setup all progs on D:\Installed_Programs for ex.
c:\Program Files\ or 'c:\Program Files (x86)' will add much more questions/problems with using some additional scripts/tools/plugs for TC soon or later...
#146217 personal license
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *DRP535 »

Horst.Epp wrote: 2023-05-24, 10:49 UTC why do you use a 32bit IrfanView on an x64 OS ?
Because a LOT of plugins for IrfanView have not been ported over to work in the x64 version yet and I prefer to not have the complexity of running two versions of the same program installed on the same computer at the same time.

I have tried the x64 version and it does not do all that I need it to with the plugins I use. I cannot notice any difference whatsoever in access speed or in any other metric that I use over the x86 version, so for me in the way that I need to use it, the x86 version is perfectly adequate with the added bonus that all the plugins work.
User avatar
tuska
Power Member
Power Member
Posts: 3755
Joined: 2007-05-21, 12:17 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *tuska »

2Bertus oud
Your problem can certainly be solved as well.

However, it is necessary that you provide us with some data.
  1. Which Total Commander version do you use?
    Example: Version 10.52., 32bit (x86) or 64 bit (x64)?
  2. Where is the installation location of Total Commander?
    Example: C:\Program Files\... or C:\Program Files (x86)\ ... or portable in ____ ... or ____?
  3. What is stored in the file "wincmd.ini" in the section [ListerPlugins] regarding IrfanView?
    Example:
    6=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView.wlx
    6_detect="MULTIMEDIA & (EXT="ACR"|EXT="ANI"| ...
  4. Which IrfanView version do you use?
    Examples: Version 4.62 - 64 bit, Version 4.62 - 32 bit
  5. Where is the file "i_view64.exe" stored?
  6. Where is the file "i_view32.exe" stored?
  7. What content is stored in the file "irfanview.ini" in ...\Plugins\wlx\TCIrfanView\?
    Example: [Options] ... and anything else or nothing more?
AkulaBig
Senior Member
Senior Member
Posts: 372
Joined: 2021-09-09, 17:28 UTC

Re: plugin irfanview 2.54: how does this plugin actually work???

Post by *AkulaBig »

Hello. I am the author of the IrfanView plugin. Just now I saw that this theme has been created. The general discussion is conducted in the topic here I see that the installation of the plugin has been sorted out, but I would like to make some explanations. Version 2.54 will be updated soon and the irfanview.sample.ini file from 1.8.2 will be included in it. Here is the content of this IrfanView connection examples file:
[Options]
Empty section.
File i_view32.exe it is searched in the \IrfanView subfolder of the plugin.
File i_view64.exe it is searched in the \Irfan View 64 subfolder of the plugin.
[Options]
path=C:\IrfanView\i_view32.exe
path64=C:\IrfanView\i_view64.exe
[Options]
path=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView64\i_view64.exe
path to i_view64.exe for path 64= is taken by default (\Irfan View 64).
[Options]
path64=%COMMANDER_PATH%\Plugins\wlx\TCIrfanView\IrfanView\i_view32.exe
path to i_view32.exe for path=, it is taken by default (\IrfanView).
In version 2.55 I will add this example file.

I want to explain why in the readme file I ask you to replace the i_view32.ini or i_view 64.ini file with files from the plugin. For my plugin, it is necessary that there is an option in i_view32.ini or i_view64.ini
[Extensions]
CustomExtensions=ACR|ANI|ARW|AWD|B3D|BMP|CAM|CDR|CIN|CLP|CR2|CR3|CRW|CUR|DCM|DCR|DDS|DCX|DIB|DJVU|DNG|DPX|ECW|EMF|ERF|EXR|FIT|FITS|FPX|G3|GIF|HDP|HEIC|ICO|ICS|IFF|IMA|IMG|IW44|J2K|JFIF|JPC|JP2|JPE|JPEG|JPF|JPG|JPM|JLS|JNG|JXL|JXR|KDC|LBM|MNG|MOS|MPO|MRC|MRW|MSK|NEF|NRW|ORF|QOI|PBM|PCD|PCX|PDN|PEF|PGM|PNG|PPM|PSD|PSB|PSP|RAF|RAS|RAW|RGB|RLE|RW2|RWL|SFF|SFW|SGI|SID|SRF|SRW|SUN|SVG|TIF|TIFF|TGA|WAD|WAL|WB1|WBC|WBZ|WBMP|WDP|WEBP|WMF|WPG|WSQ|X3F|XBM|XCF|XPM|XR|
Otherwise, if an unfamiliar extension is detected, IrfanView will display an error window, which is simply ugly.
[Viewing]
FitWindowOption=3
Otherwise, the image may not fit nicely into the TC Lister window.
All other settings of i_view32.ini or i_view 64.ini can be set according to your preference.

If someone doesn't understand my texts in the readme and on the forum, you can ask the question again. I don't speak English well and communicate through an interpreter. Therefore, sometimes it is not easy for you and me to understand each other.
Post Reply