I’m getting this problem also. The MODx Browser lists the available image files but shows no thumbnails. In addition, the Image TV allows me to select an image to add to a document from the correct path, but displays no thumbnail on the document’s Template Variables page (just shows an image placeholder). I also get a blank page when checking the path:
domain/connectors/system/phpthumb.php?src=/assets/images/image.png&w=X&h=Y
If anyone can shed some light on this issue I’d be very grateful.
MODx Revolution 2.0.0-pl rev7212 Traditional install on Linux, MySQL Client 5.0.45/MySQL Server 5.0.51a-community, pdo_mysql installed, PHP 5.2.5, all browsers, eAccelerator 0.9.5.2
I found out where the problem was.
In the file /core/model/phpthumb/phpthumb.class.php the config setting config_imagemagick_path was not set.
I have a deadline, and so haven’t got the time to work out where to set it (probably just a system setting, but I’m really up against it here), so I’ve come up with a quick fix.
In the phpthumb.class.php on line 119, change:
public $config_imagemagick_path = null;
to:
public $config_imagemagick_path = ’/usr/bin/convert’;
or whatever the path is to your image magick convert program, and the thumbnail appears.
Can anyone tell me the proper way to set this?
Thanks.
garethwi, many thanks for this fix!
Equilibre Webdesign - Conception et r