Error Unable to make thumbnail (0)

miguel yanez

Joined: 2007-08-02
Posts: 5
Posted: Thu, 2007-08-02 20:45

My host had imagemagick but now I had not
I create netpbm directory and put the binaries netpbm_gallery-1.4-pl2-linux-intel.zip
and config the gallery for netpbm
But I can not upload images

The error is this:

******Adding logo 01 sombras (Small).jpg*****

Doing the naming
Image Preprocessing
Resizing/compressing original image
util.php::481 -> Resizing Image: /var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.jpg
util.php::329 -> Getting Dimension of file: /var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.jpg

No resizing required
Adding Photo to the photo list
util.php::989 -> File /var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.jpg type 2.
util.php::329 -> Getting Dimension of file: /var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.jpg

Generating thumbnail.
util.php::481 -> Resizing Image: /var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.jpg
util.php::329 -> Getting Dimension of file: /var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.jpg
util.php::277 -> Executing: '/var/www/webs/acuariofiliacanaria/gallery/netpbm3/jpegtopnm' '/var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.jpg' | '/var/www/webs/acuariofiliacanaria/gallery/netpbm3/pnmscale' -xysize 150 150 | '/var/www/webs/acuariofiliacanaria/gallery/netpbm3/pnmtojpeg' --quality=60 > '/var/www/webs/acuariofiliacanaria/gallery/albums/album01/logo_01_sombras_Small_001.thumb.jpg'

Results:
none

Debug messages:

Status: 255 (expected 0)
Error: Unable to make thumbnail (0)

I look this http://codex.gallery2.org/Gallery1:FAQ#I.27ve_installed_Gallery_and_all_seems_well._But_when_I_try_to_upload_an_image_it_says_Unable_to_make_thumbnail.280.29_or_Invalid_image._What_gives.3F

But It does not work

What I can do?

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):http://www.acuariofiliacanaria.com/gallery
Gallery version:1.5.1
Apache version:Apache/1.3.34 (Debian)
PHP version (don't just say PHP 4, please):4.4.4-8
Graphics Toolkit:GD2
Operating system:Linux neleo 2.6.18-mem16gb #1 SMP Wed Jan 24 14:17:33 WET 2007 i686
Web browser/version (if applicable): IE7

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-08-02 22:23

Hello,

it seems you installed Netpbm (thats yor Graphics toolkit ;-)) on your own.
Which version did you install?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
miguel yanez

Joined: 2007-08-02
Posts: 5
Posted: Fri, 2007-08-03 09:52

Gallery version is 1.5.1 but I think change to 1.5.5
netpbm version is netpbm_gallery-1.4-pl2-linux-intel.zip for http://sourceforge.net/project/showfiles.php?group_id=7130&package_id=14464&release_id=243256
Is there netpbm binaries for gallery 1.5.5 o 1.5.1?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-08-03 11:31

Hello,

Current is 1.5.6, in 1-2 days we will release 1.5.7.

The package you installed should be okay for your system and is for all Gallery 1.x version.

But maybe its too old in the meanwhile. Ask your host if he can install the latest ImageMagick or NetPBM for your System distribution.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
miguel yanez

Joined: 2007-08-02
Posts: 5
Posted: Fri, 2007-08-03 16:08

My host cleared imagemagick because they say that it is not good for the version of php that they have. They do not know that he is netpbm

Can I install imagemagick binaries in my web?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-08-03 17:05

Hello,

i dont mean the PHP ImageMagick extension. Its a standalone toolkit. Like Netpbm.

There are no ImageMagick binaries available, because its nearly impossible to make static binaries.

I wonder why your hoster is not installing the ImageMagick that comes with debian.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
Bustergut

Joined: 2007-06-22
Posts: 3
Posted: Mon, 2007-09-17 20:01

I've got Gallery running OK on my site. I prepare it in Windows HOME and upload to a UNIX server and CHMOD it and it all works nicely. I've been asked to install at work, which is Windows 2003, where I have an APACHE 1 PHP 4.3.2 config running. I get the thumbnail problem when I upload. Which files do I have to change permissions on ? I think I've done them all. All the config tests work and I have various other applications running on the server. The error log is pretty much as the first one in this post.