Problem with Imagine plugin

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
shammat
Senior Member
Senior Member
Posts: 253
Joined: 2003-04-11, 23:13 UTC

Problem with Imagine plugin

Post by *shammat »

Hi,

for some reason the imagine plugin is no longer working for me.

I have re-installed the current version, but when I display e.g. a jpg, png or gif file, the image is not displayed (only the "ascii" data)

When I enable the option "Use IrfanView/XnView to load graphics" then those pictures are displayed. But I guess it's not the plugin that displays the pcitures then.

I'm pretty sure I'm missing some property in wincmd.ini but I cannot find the reason why the plugin does not work.

I'm using TC 7.03 on Windows XP

Thanks
Thomas
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

You test this already, I think, but to be sure.

wincmd.ini

Code: Select all

[Lister]
BmpStartup=1
or

Configuration→Edit/View→Multimedia display→[x]Load bitmaps as graphics at startup
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

It's a little bit tricky with lister plugins.
The sequence number of each lister plugin is important.
If a file should be displayed with lister, the first plugin who feels able to displays this kind of file, catches the file and shows up (starting with plugin #1, then #2 ...)

You may read the window title of the lister, if the file is displayed: The name of the plugin follows in brackets e.g. "Lister (imagine)"

Pressing the "4" key while lister is shown, will toggle to the next plugin ...
#5767 Personal license
shammat
Senior Member
Senior Member
Posts: 253
Joined: 2003-04-11, 23:13 UTC

Post by *shammat »

dott wrote:Configuration→Edit/View→Multimedia display→[x]Load bitmaps as graphics at startup
Yes this is already enabled.
sqa_wizard wrote:The sequence number of each lister plugin is important.
If a file should be displayed with lister, the first plugin who feels able to displays this kind of file, catches the file and shows up (starting with plugin #1, then #2 ...)
Currently this is the only lister plugin I have (and thus it's position 1)
sqa_wizard wrote:You may read the window title of the lister, if the file is displayed: The name of the plugin follows in brackets e.g. "Lister (imagine)"

Pressing the "4" key while lister is shown, will toggle to the next plugin ...
When I press "4" nothing happens. The lister title simply shows the path to the file.
User avatar
petermad
Power Member
Power Member
Posts: 16119
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2shammat
1. Make sure that the imagine.dll and the imagine.wlx files are the same version (have the same date).

2. If that doesn't help you might have an outdated plugin in the imagine\plugin folder - try and move the content of imagine\plugin somewhere else to see if that helps.

3. Make sure you have the following setting in your wincmd.ini

[ListerPlugins]
0=path_to_imagine\Imagine.wlx
0_detect=MULTIMEDIA

4. Try and delete/move your imagine.ini file
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
shammat
Senior Member
Senior Member
Posts: 253
Joined: 2003-04-11, 23:13 UTC

Post by *shammat »

petermad wrote:2. If that doesn't help you might have an outdated plugin in the imagine\plugin folder - try and move the content of imagine\plugin somewhere else to see if that helps.
That was the problem!
Thanks for your help
valexiev
Junior Member
Junior Member
Posts: 29
Joined: 2008-03-31, 09:59 UTC

Post by *valexiev »

Hi! I updated Imagine to 1.0.7 by simply unzipping to
C:\totalcmd\plugins\WLX\Imagine
and now it doesn't work.

0. View and QuickView show images as text

1. Selecting 4 (Options> Image/Multimedia) is not possible: the checkbox stays at 2 "Binary (fixed line width)"

2. I have in wincmd.ini:

Code: Select all

[Lister]
BmpStartup=1
IView=0
Multimedia=1
[ListerPlugins]
0=%COMMANDER_PATH%\plugins\WLX\Thumbs\Thumbs.wlx
1=%COMMANDER_PATH%\plugins\WLX\Imagine\Imagine.wlx
1_detect=MULTIMEDIA
3. When I look with TC Plugins Manager, it says Imagine.wlx is "loaded"

4. Imagine.dll and Imagine.wlx have the same date (1/31/2010 0:0:0)

5. I renamed Imagine\Plugin and Imagine.ini to *-old, no effect

6. Even moving Imagine above Thumbs has no effect

7. Restarting TC doesn't help

Do I need to enumerate all image file extensions in addition to MULTIMEDIA?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Hi, valexiev,

What kind of image format you're trying to see with Imagine? Can Imagine open it directly via Imagine.exe?
You may try to start Imagine.exe to check if Imagine itself works. Imagine as plugin reguires at least two files - Imagine.wlx and Imagine.dll, and it is better to use both ones from same version.

I have same values for wincmd.ini parameters that you've specified (except paths).
valexiev
Junior Member
Junior Member
Posts: 29
Joined: 2008-03-31, 09:59 UTC

Post by *valexiev »

Happens with every format: PNG, JPG...
Imagine works ok, even preview in the Explorer Properties dialog.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Maybe you should try to remove Imagine via TC plugins configuration dialog (Configuration - Plugins - Lister plugins) and add it back then?
Post Reply