PDA

View Full Version : problem with thumbnails


achundee
10-23-2005, 05:54 PM
Hi All,

I have just installed the software and it works fine, but I, like others, seem to be having problems with thumbnails. I have my own CentOS webserver here with the GD libs on there, which appear to be fine. I have created the images and the thumbnails folders, and CHMOD'ed them to 777, but when I upload, it does not create a thumbnail - nothing at all in the thumbnails folder!

The system info page shows that the GD libs are ok:

PHP-version 4.3.9 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.12 (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/2.0.52 (CentOS)
EXIF Pixelpost is using exifer v1.5 for EXIF information.

Sorry if I have missed something in a previous thread, but every other thumbnail problem appeared to be to do with windows webservers.

Thanks in advance.
Ajoy.

Connie
10-23-2005, 08:21 PM
if you found out already that other have the same problems, maybe they found the solution already, which you are still missing.

As we have no christall balls, we need more information to help you out of this problem:

the URL of your installation
the information which you can find in admin/general info

about server
mysql
GD lib etc....

if you have this info at hand, we might be able to find the reason for the missing thumbnails

achundee
10-24-2005, 11:42 AM
Hi,

The url is http://ajoyandclairesblog.chundee.co.uk ......

Pixelpost Version
You are running version 1.4.2 of Pixelpost. Released 18 July 2005.
Latest pixelpost version: Check
Host Information
PHP-version 4.3.9 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.12 (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/2.0.52 (CentOS)
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /var/www/html/ajoyandclairesblog.chundee.co.uk/htdocs//images/
Configured Imagepath /var/www/html/ajoyandclairesblog.chundee.co.uk/htdocs/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK

Please let me know if you need any more info.

Thanks.
Ajoy.

GeoS
10-24-2005, 12:15 PM
Guessed imagepath: /var/www/html/ajoyandclairesblog.chundee.co.uk/htdocs//images/
Configured Imagepath /var/www/html/ajoyandclairesblog.chundee.co.uk/htdocs/


You have incorrect Configured Imagepath!! Set it up with ../images/ and all should work OK.

achundee
10-24-2005, 12:25 PM
Thanks Geos,

Unfortunately it has not made a difference :-(

Ajoy.

Joe[y]
10-24-2005, 12:26 PM
if ../images/ (exactly like that!) did not work try

/var/www/html/ajoyandclairesblog.chundee.co.uk/htdocs/images/

it is a problem with your paths but i cannot tell why.

achundee
10-24-2005, 12:44 PM
That is what it was set to originally.

I am not sure why it has a double slash in the middle there.

There are also a string of errors in my apache log:

http://pastebin.com/403986

Ajoy.

Joe[y]
10-24-2005, 12:57 PM
it is not exactly the same. it added on the /images/ and unlike the guesed path it took out a slash.

and wow - all those errors. this is over my head... sorry.

AristonCC
10-24-2005, 05:43 PM
I am facing the same problem. The image is created, but there is no thumbnail. I get the typical error:

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/.bauzeur/aristoncc/freneticphoto.com/gallery/includes/functions.php on line 92

Warning: chmod(): No such file or directory in /home/.bauzeur/aristoncc/freneticphoto.com/gallery/includes/functions.php on line 94

Here is what is in General Info:
Host Information
PHP-version 4.3.10 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.14-Debian_3-log (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e

EXIF Pixelpost is using exifer v1.5 for EXIF information.


Paths
Guessed imagepath: /home/aristoncc/freneticphoto.com/cgi-systemimages/
Configured Imagepath /home/.bauzeur/aristoncc/freneticphoto.com/gallery/images/

Image Directory: OK - Can we write to the directory? YES.

Thumbnails Directory: OK - Can we write to the directory? YES.

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

I have no clue why the Guessed Image path is what it is...I don't even have a folder with that name!

When you go to the site: http://www.freneticphoto.com/gallery you can see the pic I uploaded, but there is no thumbnail at the bottom, and if you click "Browse" in the upper right, there is no thumbnail there either.

I have verified permissions on the images and thumbnails folders as 777 as per the install instructions.

Any thoughts? It's similar to what everyone else is facing, but I've tried a couple different imagepath statements. I read in another post that the Guessed and the Configured need to match, but I do not know how the Guessed got that value...

Ariston Collander
http://www.freneticphoto.com

Connie
10-24-2005, 07:00 PM
did you enter

../images/

as image path? What was the result?

Why not ask your provider to help? Our directory structure is really very clear (see the readme-file in the doc - folder). They made these configurations so they must be able to help you out...

GeoS
10-24-2005, 07:38 PM
Go to admin panel and OPTIONS section, then insert ../images/ into IMAGES PATH field, then SAVE IT!!!

If it doesnt work then you must talk with your ISP or look into your error logs!!