Page 1 of 1

image thumbnails

Posted: Wed Apr 13, 2005 4:00 am
by edscholl
What do I have to do to get thumbnails? I click on "Rebuild Thumbs" after uploading images, but thumbnails don't seem to work. There are no error messages on rebuild, but in the gallery it displays as:
Orig.: 2048x1536, Thumb: x
and when I try including a thumb, I just get a gray box with my text in it.

Thanks!

Re: image thumbnails

Posted: Wed Apr 13, 2005 10:13 am
by garvinhicking
If you get this behaviour, then you do not have imagemagick or gdlib installed on your server. Either one needs to be properly installed, or else the thumbnails cannot be created.

They are, BTW, created immediately after upload so you wouldn't have to click on "Rebuild thumbs".

Regards,
Garvin

thumbnail issues

Posted: Sat Apr 23, 2005 10:23 pm
by skwirl42
I seem to be getting some postgres errors when rebuilding thumbs, and they aren't being automatically generated when I upload new media. There was some funkiness with my php build, it didn't pick up on everything to do with postgres, could that be the issue?

Thanks!

actual error

Posted: Sat Apr 23, 2005 10:41 pm
by skwirl42
Here's the error I get:

Code: Select all

Warning: pg_query(): Query failed: ERROR: currval of sequence "serendipity_images_id_seq" is not yet defined in this session in /Library/WebServer/DotNetDocuments/include/db/postgres.inc.php on line 83

Warning: pg_num_rows(): supplied argument is not a valid PostgreSQL result resource in /Library/WebServer/DotNetDocuments/include/db/postgres.inc.php on line 84

Warning: pg_last_oid(): supplied argument is not a valid PostgreSQL result resource in /Library/WebServer/DotNetDocuments/include/db/postgres.inc.php on line 88
Done (Synchronized 1 images).
It managed to create thumbnails for everything in the base directory, when I rebuilt them, but not for the one subdirectory I've got.

The sequence does appear in the database, I'm running PHP 4.3.11, postgres 8.0.1 and serendipity 0.8.

Thanks!

Re: actual error

Posted: Mon Apr 25, 2005 11:19 am
by garvinhicking
I will forward this to our mailinglist. I don't know enought about Postgres to get why it fails on you.

Can you see if the mentioned sequence is existing in your pgsql setup?

Regards,
Garvin