PDA

View Full Version : Thumbnail generation - at a lost


kaiyen
03-08-2007, 04:44 PM
Hi all,
First post, and it's about thumbnail generation. Now, I realize that this is likely _not_ a pixelpost issue, but many of you are dealing with getting GDlib working, on apache servers, dealing with php, etc. I have covered a lot of ground with my hosting company but...anyway.

Basically, GDlib is not building the thumbnails for me. Pixelpost does indicate that I have GDlib with JPEG support, and I've used other applications (specifically Coppermine) that uses GDlib to generate thumbnails correctly. All permissions are correct according to both pixelpost and to my manual settings for each folder.

Images upload fine, but thumbnails do not generate.

The weird part is that they aren't generating for _either_ pixelpost OR coppermine. In fact, coppermine isn't even recognizing the jpgs as "known" files (I have to search their forum some more).

My hosting company has done a complete recompiling of GDlib in an attempt to solve this, so it's not that.

Any ideas?

thanks,
allan

kaiyen
03-08-2007, 05:47 PM
Update - I think I've solved the coppermine issue. So it's strictly a thumbnail generation issue in pixelpost, despite the indication that GDlib is there, with jpeg support, and has even been recompiled.

allan

DaveJohnson
03-08-2007, 05:58 PM
Kaiyen:

I'm in the same boat.

PHPInfo tells me GD is compiled with JPEG support. I have the permissions correct on all folders. I can upload photos, but no thumbnails!

Running on some flavor of Debian, PHP Version 5.1.4-1.dotdeb.1 & apache2.

Dennis
03-08-2007, 08:54 PM
what do you guys use for the thumbnail creation? Try looking at the forums for the flashcrop addon, perhaps this will work. (Be sure to read the thread though to fix an anomaly in the source code.)

DaveJohnson
03-08-2007, 09:09 PM
what do you guys use for the thumbnail creation? Try looking at the forums for the flashcrop addon, perhaps this will work. (Be sure to read the thread though to fix an anomaly in the source code.)

Schonhose:

I'm using the default PixelPost upload process - pictures go up fine, but no thumbs. When I try to 'Options | Thumbnails | Re-generate Thumbnails' the page returns with only the top menu, the rest of the page is blank.

I'm real new (installed today :) ) with PixelPost, so I'm still trying to get used to the whole program. I'm looking through logs & I'll give your suggestion a try as well.

Thanks!

kaiyen
03-08-2007, 10:01 PM
I've read about some of the add-ons, but it is truly necessary to install an extra piece of software to get pixel post to actually create thumbnails...?

allan

kaiyen
03-08-2007, 10:28 PM
Okay, so I added flashcrop, but I don't get what I actually need to change in the sourcecode. The link to this post:

http://forum.pixelpost.org/showpost.php?p=39003&postcount=27

talks about workspaces in the "new_image" file. Where is that file...?

allan

kaiyen
03-08-2007, 10:38 PM
Okay...now I made the change in the sourcecode, in the admin_FlashCropImage.php file to "thumb_created" for the addon workspace. That didn't fix it either.

The thumbnails just aren't generating at all. Argh.

allan

DaveJohnson
03-08-2007, 11:00 PM
Well, me too I guess - I don't even see how to get FlashCrop to show up? I've put the files in the right dir, but I don't get any kind of 'submenu' in the Image Editing area....

Update - still working on trying to get flashcrop to work... had some permission issues on it, and now I see the option, but the flash file doesn't load...

kaiyen
03-08-2007, 11:07 PM
Okay. So thumbnails ARE being generated, as you can see from

http://photos.kaiyen.com/blog/thumbnails/thumb_20070308153217_dsc_0157.jpg

However, they are not being _displayed_ when I go to the blog. The index.php code seems fine, as far as I can tell. Any ideas?

allan

kaiyen
03-08-2007, 11:14 PM
OH!

Wait a second. The image being displayed isn't resized at all! I thought that the image on the page was a resized version of the image I uploaded. But it's not. It's full-size. So if I upload an image that is 3000x3000, it'll show up at 3000x3000.

Now I get it. Ugh.

allan

DaveJohnson
03-08-2007, 11:22 PM
Kaiyen

Do you have access to your server logs? I noticed that I needed to increase the memory_limit variable in my php.ini - things worked after that. I'm thinking PHP may have been running into memory limitation in the GD script - and not generating thumbs for me.

DaveJohnson
03-08-2007, 11:27 PM
Kaiyen:

I'm trying this out

http://www.pixelpost.org/v1/index.php?x=downloads&details=171

I have the same problem as you now...

GeoS
03-09-2007, 12:55 AM
Not resized such a big images can be related to php script memory limitation on server. Resize operation of so big image uses a lot of memory. Ask your hoster about this aspect of stuff.