How to use internal lister to view image files?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

How to use internal lister to view image files?

Post by *Li Yongzhen »

TC 8.0 can use internal lister other than external plugins to view image filse such as bmp, png, jpg etc.
How to configue TC in wincmd.ini?
thanx
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It uses internal methods if no plugins installed that can handle theese files. All you need is to enable option 'Use plugins or load bitmaps as &graphics at startup' in Lister options (it is enabled by default).
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

If you do have plugins for the filetype in question you can press 4 to cycle through viewing with the different plugins - after the last plugin TC then uses Internal function (for bmp, gif, jpg and png) or it uses IrfanView of XnView if configured so.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

MVV wrote:It uses internal methods if no plugins installed that can handle theese files. All you need is to enable option 'Use plugins or load bitmaps as &graphics at startup' in Lister options (it is enabled by default).
thanx
But where i can enable/disable the option?
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Li Yongzhen wrote:
MVV wrote:It uses internal methods if no plugins installed that can handle theese files. All you need is to enable option 'Use plugins or load bitmaps as &graphics at startup' in Lister options (it is enabled by default).
thanx
But where i can enable/disable the option?
Open Lister, Options - Configure.
Or open TC configuration, Edit/View, Configure internal viewer.
Or edit wincmd.ini and set BmpStartup in section [Lister] to 1 (restart TC is required in this case).
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

MVV wrote:
Li Yongzhen wrote:
MVV wrote:It uses internal methods ...in Lister options (it is enabled by default).
thanx
But where i can enable/disable the option?
Open Lister, Options - Configure.
Or open TC configuration, Edit/View, Configure internal viewer.
Or edit wincmd.ini and set BmpStartup in section [Lister] to 1 (restart TC is required in this case).
sorry.
both methods can not work!
if enable "Load bitmaps as graphics at startup", TC uses plugins to disaply image files, if disable this option, TC can use internal lister to disaply image files with messy code.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Why do you need to use internal methods instead of installed plugins? Plugins (e.g. Imagine) can show graphics better, they support zoom and other features. Internal methods are only for cases when you have no any plugins.

However, you still can edit wincmd.ini and forbid plugins to display graphics, you need to edit detect string for every graphics plugin in [ListerPlugins] section and set it to e.g. empty string:

Code: Select all

1=%COMMANDER_PATH%\Plugins\Lister\Imagine\Imagine.wlx
1_detect=""
(original detect string was "MULTIMEDIA")
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Li Yongzhen,
Try pressing "4" repeatedly.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Hacker

As I wrote:
you can press 4 to cycle through viewing with the different plugins
;-)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 16157
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Li Yongzhen
TC can use internal lister to disaply image files with messy code.
It sounds like you want to override TC's internal viewer and force the use of IrfanView/XnView? Unfortunately that doesn't currently seem possible.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

petermad,
As I wrote
I know. Does not seem to have been tried, though.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

MVV wrote:Why do you need to use internal methods instead of installed plugins? Plugins (e.g. Imagine) can show graphics better, they support zoom and other features. Internal methods are only for cases when you have no any plugins.

However, you still can edit wincmd.ini and forbid plugins to display graphics, you need to edit detect string for every graphics plugin in [ListerPlugins] section and set it to e.g. empty string:

Code: Select all

1=%COMMANDER_PATH%\Plugins\Lister\Imagine\Imagine.wlx
1_detect=""
(original detect string was "MULTIMEDIA")

In fact, i want to use internal lister instead of external plugin like imagine.wlx to view graphics.
User avatar
MVV
Power Member
Power Member
Posts: 8713
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

As I said, using Imagine is much more convenient way to view graphics. And, it supports much more image formats.
Li Yongzhen
Junior Member
Junior Member
Posts: 64
Joined: 2010-04-04, 10:46 UTC

Post by *Li Yongzhen »

MVV wrote:As I said, using Imagine is much more convenient way to view graphics. And, it supports much more image formats.
thanx
i always use imagine plugin.
i only want to check if internal lister can view graphics as TC said.
HobbyMan
New Member
New Member
Posts: 1
Joined: 2011-10-09, 18:40 UTC
Location: Russia

Re: How to use internal lister to view image files?

Post by *HobbyMan »

Li Yongzhen wrote:TC 8.0 can use internal lister other than external plugins to view image filse such as bmp, png, jpg etc.
How to configue TC in wincmd.ini?
thanx
There is a solution for it. I have found it revising command line parameters for TC.
What you need is: totalcmd.exe /S=L
It starts Lister directly, pass file name to it for viewing.

Go to Configuration - Edit/View - External Viewer (F3) - Associations.
Enter required extention (e.g. jpg or mp3) and associate with C:\TotalCmd\TOTALCMD.EXE /S=L (choose your own link with switcher /S=L)
Then OK, OK. Restart TC just in case and get it.
Post Reply