|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
Your GD-lib line is blank, what version of GD are you using?
// punk
__________________
icq: 66760929 |
|
#3
|
|||
|
|||
|
I have gd 2.0.33 installed. Know why it wouldn't be seeing it?
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
|||
|
|||
|
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? |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
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 />";
|
|
#9
|
|||
|
|||
|
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:
Quote:
4) do you really upload JPG-files? No GIF? sorry to ask that :wink: |
|
#10
|
||||
|
||||
|
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 |
| Post Reply |
| Thread Tools | |
|
|