Gallery 1.5 No Thumbnails visible in gallery.

poiboy_2

Joined: 2006-11-14
Posts: 7
Posted: Wed, 2011-10-19 09:36

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://gallery.moiha.com/
Gallery version: 1.5
Apache version:
PHP version (don't just say PHP 4, please): 5.2.17
Graphics Toolkit: ImageMagick
Operating system: Linux
Web browser/version (if applicable):

Have been looking to add images to my gallery only to find that none of the thumbnails are displaying. In the thumbnail place is a 1x1 gif. Tried rebuilding the thumbnails to no avail. NOt sure what else to try.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2011-10-19 12:03

They are displaying find for me.
____________________________________________
Like Gallery? Like the support? Donate now!

 
poiboy_2

Joined: 2006-11-14
Posts: 7
Posted: Wed, 2011-10-19 17:43

I have manually made thumbnails for my albums however inside the albums no thumbnails for images are coming up. Here is a direct link to an album that should have 51 images on 2 pages.

http://gallery.moiha.com/ohanaomoiha

no thumbnails.

 
poiboy_2

Joined: 2006-11-14
Posts: 7
Posted: Wed, 2011-10-19 17:50

Here is the debug info i get when trying to rebuild thumbnails:

Performing Operation..

Processing image 1...
Generating thumbnail.
Executing:

'/usr/bin/convert' -crop 340x340+80+0 '/home/moihaj/public_html/gallery/albums/ohanaomoiha/Solomon001.jpg' '/home/moihaj/public_html/gallery/albums/ohanaomoiha/Solomon001.thumb.jpg'

Results:

none

Debug messages:

Status: 0 (expected 0)
Resizing Image: /home/moihaj/public_html/gallery/albums/ohanaomoiha/Solomon001.thumb.jpg
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/ohanaomoiha/Solomon001.thumb.jpg
Executing:

'/usr/bin/convert' -quality 90 -size 74x74 -strip -coalesce '/home/moihaj/public_html/gallery/albums/ohanaomoiha/Solomon001.thumb.jpg' -geometry 74x74 '/home/moihaj/public_html/gallery/albums/ohanaomoiha/Solomon001.thumb.jpg.tmp'

Results:

none

Debug messages:

convert: no encode delegate for this image format `/home/moihaj/public_html/gallery/albums/ohanaomoiha/Solomon001.thumb.jpg.tmp' @ constitute.c/WriteImage/1145.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2011-10-20 01:39

Do you have SSH access to the server? If so type convert -version and let us know what information that pops out.

Also check:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=7303

And this:
http://www.google.com/search?q=convert%3A+no+encode+delegate+for+this+image+format

to see if those help
____________________________________________
Like Gallery? Like the support? Donate now!

 
poiboy_2

Joined: 2006-11-14
Posts: 7
Posted: Thu, 2011-10-20 02:10

Can do:

convert -version outputs:
Version: ImageMagick 6.4.8 2011-08-03 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

I'll do a bit more reading on the rest. I did however see that the Jpeg module is set to rw-

On another note, I set my utility to use NetPbm as well, with similar results. I did make sure that the directories were correct.

 
poiboy_2

Joined: 2006-11-14
Posts: 7
Posted: Thu, 2011-10-20 05:58

Also part of the trouble is that i've had this gallery operating normally for a while now, and the thumbnails had always been present. Now for whatever reason, they no longer show up. The files are there, i've downloaded a folder's contents and have viewed the images locally, and can see that the thumbnails were infact displaying. however on my site, they are not showing up.

 
poiboy_2

Joined: 2006-11-14
Posts: 7
Posted: Thu, 2011-10-20 07:49

The convert and identify are system installed, there is no separate dir that it resides in. The system dir is /usr/bin/ which is defined in the config.php, however in check_imagemagick.php it's not accepting the binary where it lives. I can ssh in and run convert and identify, and it runs, but not with gallery.

 
poiboy_2

Joined: 2006-11-14
Posts: 7
Posted: Thu, 2011-10-20 20:26

More info:

I made a test album and uploaded new images using the form applet. it was able to upload and generate thumbnails, and they are displaying properly. here is the debug out put, I was using Netpbm, :

Processing status...
******Adding banner.jpg*****

Doing the naming
Image Preprocessing
Resizing/compressing original image
Resizing Image: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
No resizing required
Adding Photo to the photo list
File /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg type 2.

Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
Generating thumbnail.
Resizing Image: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
Executing:

'/home/moihaj/Netpbm/jpegtopnm' '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg' | '/home/moihaj/Netpbm/pnmscale' -xysize 75 75 | '/home/moihaj/Netpbm/pnmtojpeg' --quality=90 > '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg'

Results:

none

Debug messages:

jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
Executing:

'/home/moihaj/Netpbm/jpegtopnm' '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg' | '/home/moihaj/Netpbm/pnmcut' 256 0 235 235 | '/home/moihaj/Netpbm/pnmtojpeg' --quality=90 > '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg'

Results:

none

Debug messages:

jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Resizing Image: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg
Executing:

'/home/moihaj/Netpbm/jpegtopnm' '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg' | '/home/moihaj/Netpbm/pnmscale' -xysize 75 75 | '/home/moihaj/Netpbm/pnmtojpeg' --quality=90 > '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg.tmp'

Results:

none

Debug messages:

jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.thumb.jpg
Executing:

'/home/moihaj/jhead/jhead' '/home/moihaj/public_html/gallery/tmp/galleryyKAxPS'

Results:

File name : /home/moihaj/public_html/gallery/tmp/galleryyKAxPS
File size : 128209 bytes
File date : 2011:10:20 14:23:27
Date/Time : 2006:11:14 23:21:17
Resolution : 747 x 235

Debug messages:

Status: 0 (expected 0)
- Resizing banner
Resizing Image: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
Executing:

'/home/moihaj/Netpbm/jpegtopnm' '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg' | '/home/moihaj/Netpbm/pnmscale' -xysize 700 700 | '/home/moihaj/Netpbm/pnmtojpeg' --quality=90 > '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.sized.jpg'

Results:

none

Debug messages:

jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
Getting Dimension of file: /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.sized.jpg
Executing:

'/home/moihaj/jhead/jhead' '/home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg'

Results:

File name : /home/moihaj/public_html/gallery/albums/TEST-ALBUM/banner.jpg
File size : 128209 bytes
File date : 2011:10:20 14:23:27
Date/Time : 2006:11:14 23:21:17
Resolution : 747 x 235

Debug messages:

Status: 0 (expected 0)
No email sent as no valid email addresses were found

########################################################

So i guess a good question would be how do I get my albums rebuilt to display the thumbnails?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2011-10-21 13:48
Quote:
So i guess a good question would be how do I get my albums rebuilt to display the thumbnails?

Go to each top level album, click on Album Options > Rebuild Thumbs
____________________________________________
Like Gallery? Like the support? Donate now!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2011-10-21 13:49

Oh and if NetPBM ever stops working with G1, well, you'll probably need to migrate from G1 to G2 or G3 as G1 is no longer supported and won't be updated any more unless someone takes it over.
____________________________________________
Like Gallery? Like the support? Donate now!

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2011-10-21 16:29
nivekiam wrote:
Oh ... G1 is no longer supported and won't be updated any more unless someone takes it over.

It was rebranded as "Jallery" and someone did take it over: http://gallery.menalto.com/last_official_G1_releases.

Unfortunately, visiting jallery.com seems to suggest they are no longer doing anything with it ... I don't think they ever got round to making a release.

--
dakanji.com