Yet another "No Thumbnail" or even showing Photos

rarmy
rarmy's picture

Joined: 2003-03-01
Posts: 30
Posted: Tue, 2008-11-25 22:13

Gallery URL (optional but very useful):http://rga.swgr.org/gallery
Gallery version:1.5.10
Apache version:2.2.8
PHP version (don't just say PHP 4, please):5.2.5
Graphics Toolkit:NETPBM
Operating system: All I get is i686 Linux Kernal 2.6.18-92.1.6.el5
Web browser/version (if applicable): Firefox 3 / IE 7

am also running 4 other Galleries on web-site http://www.rarmy.com;

1.5.8 / 1.4.4-pl5 x2 / 1.4.3-pl5

OK, am trying to set up yet another gallery, setup seemed to be all ok, had to update my jhead, but all is good. NetPBM passed the "Check NetPBM" page.

up loaded 3 images into a test album. No Thumb, No re-sized image, shelled in and saw that both were made within the album folder... turned on debug for awhile, showed NO errors, gave up on that as I would not have been able to fix anyway (not a programmer)...

browsed within this forum, saw others with same issue, but no solutions, should I go back to 1.5.8, a working release???

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-11-25 23:54

Hi,

please enable the debug mode again. Upload a photo again.
Paste the output again.

Also, how big is the image?

Jens
--
Gallery Developer

 
rarmy
rarmy's picture

Joined: 2003-03-01
Posts: 30
Posted: Wed, 2008-11-26 18:15

Image is 1280x960 - 3.2m but compressed to 310kb on disk. due to webhost have set to 2mb max on uploaded photos...performed add as admin with all permissions:

==========>
save_photos.php::358 -> Now we start processing the given Files. (If they were given)
Processing 1 element.
albumItem.php::666 -> Start processing single file (image/movie not archive).
albumItem.php::669 -> Extension is accepted.
albumItem.php::671 -> Filename processing.
albumItem.php::720 -> No caption given, generating it.
albumItem.php::479 -> Generated caption. Type: filename
Adding DSC03245.jpg
Album.php::1312 -> Doing the naming of the physical file.
Album.php::1350 -> Image preprocessing
Album.php::1355 -> Resizing/compressing original file
imageManipulation.php::37 -> Resizing Image: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg.
util.php::237 -> Getting Dimension of file: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg
imageManipulation.php::73 -> No resizing required.
imageManipulation.php::676 -> File /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg type 2.
util.php::237 -> Getting Dimension of file: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg
AlbumItem.php::697 -> Generating thumbnail.
AlbumItem.php::778 -> Generating normal thumbs.
imageManipulation.php::37 -> Resizing Image: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg.
util.php::237 -> Getting Dimension of file: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg
imageManipulation.php::797 -> Compressing image: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg
util.php::183 -> Executing: '/home/rarmy/public_html/rga/gallery/netpbm/jpegtopnm' '/home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg' | '/home/rarmy/public_html/rga/gallery/netpbm/pnmscale' -xysize 150 150 | '/home/rarmy/public_html/rga/gallery/netpbm/pnmtojpeg' --quality=50 > '/home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.thumb.jpg'

Results:

none

Debug messages:

jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
util.php::237 -> Getting Dimension of file: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.thumb.jpg
util.php::237 -> Getting Dimension of file: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.thumb.jpg
util.php::183 -> Executing: '/home/rarmy/public_html/rga/gallery/jhead' '/home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg'

Results:

File name : /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg
File size : 317379 bytes
File date : 2008:11:26 11:05:59
Resolution : 1280 x 960

Debug messages:

Status: 0 (expected 0)
util.php::621 -> Got no capture date. Using file modification time.
util.php::632 -> Item Capture Date: Wed Nov 26 11:05:59 2008
- Creating resized intermediate Version of DSC03245_003
imageManipulation.php::37 -> Resizing Image: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg.
util.php::237 -> Getting Dimension of file: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg
imageManipulation.php::797 -> Compressing image: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg
util.php::183 -> Executing: '/home/rarmy/public_html/rga/gallery/netpbm/jpegtopnm' '/home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.jpg' | '/home/rarmy/public_html/rga/gallery/netpbm/pnmscale' -xysize 640 640 | '/home/rarmy/public_html/rga/gallery/netpbm/pnmtojpeg' --quality=90 > '/home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.sized.jpg'

Results:

none

Debug messages:

jpegtopnm: WRITING PPM FILE

Status: 0 (expected 0)
util.php::237 -> Getting Dimension of file: /home/rarmy/public_html/rga/gallery/albums/test01/DSC03245_003.sized.jpg
Album.php::1443 -> Check if image needs to be rotated
util.php::183 -> Executing: '/home/rarmy/public_html/rga/gallery/jhead' '/home/rarmy/public_html/rga/gallery/tmp/galleryuFeANB'

Results:

File name : /home/rarmy/public_html/rga/gallery/tmp/galleryuFeANB
File size : 317379 bytes
File date : 2008:11:26 11:05:59
Resolution : 1280 x 960

Debug messages:

Status: 0 (expected 0)
Album.php::1461 -> Orientation:
- Photo NOT auto-rotated/transformed
Item successfully added.
<==============

anything else? please advise...

p.s. ran secure.sh but left debug on...

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2008-11-27 02:18

Hmm, looks good to me.

what happens with a photo smaller than 2 mb?

Jens
--
Gallery Developer

 
rarmy
rarmy's picture

Joined: 2003-03-01
Posts: 30
Posted: Thu, 2008-11-27 18:17

Exact same thing, uploaded a 1024x768 (94kb) photo.

 
dazed_and_confuzed

Joined: 2008-12-16
Posts: 19
Posted: Tue, 2008-12-16 16:30

I just added the third "no pictures" post on the main page of the forum.
I don't feel quite so lonely now.

I don't see any answers to this. anyone have a fix?

 
rarmy
rarmy's picture

Joined: 2003-03-01
Posts: 30
Posted: Tue, 2008-12-16 17:18

Haven't had a chance to check in for a couple of weeks, but I see no activity on this issue...is there a problem duplicating this issue in your test enviorment??? Should I go ahead and go back to 1.5.8 ???