Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 12-21-2004, 03:18 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Thumnails not working

I installed pixelpost and everything seems to be configured properly but the thumbnails are not showing up. Here's my config info:

PHP5.03:
./configure --with-mysql --with-apxs=/usr/local/sbin/apxs --enable-exif --with-jpeg

Code:
Pixelpost Version
You are running version 1.3 of Pixelpost. Released 16 november 2004.
Latest pixelpost version: Check

Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpunk.se/software/forum/

Host information
PHP-version 5.0.3

MySQL version 4.1.7

GD-lib

Server software Apache/1.3.33 (Unix) PHP/5.0.3

EXIF Your php was compiled with exif-enabled. This means you can add additional exif-information to your images such as camera model, aperture, exposure time and more.
There are certain tags to add to your templates for this. Check pixelpost homepage to learn more.
Permissions
Images folder
Images folder is writable, which is a good thing.

Thumbnails folder
Thumbnails folder is writable.
Any suggestions?
Reply With Quote
  #2  
Old 12-21-2004, 04:12 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Your GD-lib line is blank, what version of GD are you using?

// punk
__________________
icq: 66760929
Reply With Quote
  #3  
Old 12-21-2004, 09:03 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
I have gd 2.0.33 installed. Know why it wouldn't be seeing it?
Reply With Quote
  #4  
Old 12-21-2004, 09:31 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
I got GD detected now, but the thumbnails still aren't working.
GD-lib bundled (2.0.28 compatible)

If I try to click the button to regenerate the thumbnails, it loads up the page with only the menu up top and then stops.
Reply With Quote
  #5  
Old 12-22-2004, 07:17 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Probably something to do with GD not getting detected immediately and you having to alter it.

Today I will be on my move on the roads, so I can't assist any on this 'til tomorrow

// punk
__________________
icq: 66760929
Reply With Quote
  #6  
Old 12-22-2004, 09:05 AM
Connie
Guest
 
Posts: n/a
one question to understand it better:

the thumbnails are not created or the thumbnails are not integrated in your website?

which template do you use?

is there <IMAGE_THUMBNAIL_ROW> in your template?
Reply With Quote
  #7  
Old 12-23-2004, 01:12 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Quote:
the thumbnails are not created or the thumbnails are not integrated in your website?
The thumbnails aren't even getting created.
Reply With Quote
  #8  
Old 12-23-2004, 01:23 AM
BosHaus Offline
forum loafer
 
Join Date: Dec 2004
Posts: 1
In order to narrow down where the problem is, I thew in a bunch of echos and here's where it runs into problems.
Code:
echo "YO!<br />";
if ($ext == 'jpg' || $ext == 'jpeg') {   
      $img = @imagecreatefromjpeg($image_path);
        } else if ($ext == 'png') {
        $img = @imagecreatefrompng($image_path);
        } else if ($ext == 'gif') {
        $img = @imagecreatefromgif($image_path);
        }
echo "Got past first IF <br />";
I see the "YO!" but not the "got past.. The image is a jpg."
Reply With Quote
  #9  
Old 12-23-2004, 06:58 AM
Connie
Guest
 
Posts: n/a
I just googled "imagecreatefromjpeg" and found some possible reasons why you get no thumbnail:

1) the image is too big and the memory too low

what's the filesize of the image you want to create the thumbnail from?

maybe a filesize which is too big to create a thumb is too big to be included in a photolog as well ?

Quote:
The ImageCreateFromJPEG() function is capable of throwing an emalloc() error. If this happens, the script will die, but the error will be in your error logs. You should ensure that you have memory available before creating a large image from a jpeg file.
2) which camera model you use?

Quote:
I have noticed that Nokia's old camera-phones create non-standard JPEG's.

Nokias' JPEG doesn't end with 0xFFD9.
3) are there any error messages? Maybe you could disable the first line of the index.php ( error_reporting(0); ) and check

4) do you really upload JPG-files? No GIF? sorry to ask that :wink:
Reply With Quote
  #10  
Old 12-23-2004, 07:44 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Weird it stops there.
I take it your jpg's have the extension .jpg.

If you remove that entire thing and just assumes that you upload an jpg - test and see if it is created.

// punk
__________________
icq: 66760929
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:00 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs