If you get a directory error, then must define the folder in which your xoops resides. In seldom cases (like in my local xampp-enviroment) the server root is not the same as the xoops root. This means for my case: If I browse
http://localhost I get the xampp configuration, but my test-xoops resides in a folder called "blabla", so I have to type in
http://localhost/blabla/ to come to my xoops.
Therefore I have to go inbetween's preferences and have to define /blabla as the subdirectory there.
GD or ImageMagick? Normally there is an auto-detect of these libraries, but maybe the path to ImageMagick is wrong, so you have to define it in inbetween / editor / plugins / ibrowser(OR)imanager / scripts / phpThumb / phpThumb.config.php. Snip:
// ImageMagick configuration
// If source image is larger than available memory limits as defined above in
// 'max_source_pixels' AND ImageMagick's "convert" program is available, phpThumb()
// will call ImageMagick to perform the thumbnailing of the source image to bypass
// the memory limitation. Leaving the value as NULL will cause phpThumb() to
// attempt to detect ImageMagick's presence with `which`
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') {
// Windows: set absolute pathname
$PHPTHUMB_CONFIG['imagemagick_path'] = 'C:/Program Files/ImageMagick-6.2.3-Q16/convert.exe';
} else {
// *nix: set absolute pathname to "convert", or leave as null if "convert" is in the path
//$PHPTHUMB_CONFIG['imagemagick_path'] = '/usr/local/bin/convert';
$PHPTHUMB_CONFIG['imagemagick_path'] = null;
}
$PHPTHUMB_CONFIG['prefer_imagemagick'] = true; // If true, use ImageMagick to resize thumbnails if possible; if false only use ImageMagick if PHP memory limit is too low.