PDA

View Full Version : Thumbs stopped working...


tylkum
11-12-2005, 02:17 PM
Using the brilliant Pixelpost 1.4.2; but for some weird reason it stopped creating thumbs. My jpg was edited in PS CS2 and saved for web as jpg. The picture shows up fine; but no thumb has been created. Instead pp shows a link with the name of the picture both in the archive and the bottom thumb navigation. And there's no thumb-file on the web server either. So it appears that no thumb has been created in the first place.

Please help!
Thx!

www.tylkum.dk/pixel/ (http://www.tylkum.dk/pixel/)

Connie
11-12-2005, 02:34 PM
the usual question:

if it worked before, what has changed?
something at the server?

could it be that there is no more webspace?
are there any restrictions at the server now?

I checked, GD LIB is there at your server, installed with JPG-Support...

did this happen with only one image or with more images?

do you see what I see?
Look at the image:

images/20051112163339_autumn7

this image has no file-extension !!!!
it must be images/20051112163339_autumn7.jpg

but it is not! So try to re-upload the image with file-extension!

tylkum
11-12-2005, 02:41 PM
Thanks Connie!

Well, something did change... I just got a new Apple PowerBook instead of my IBM ThinkPad. And MacOS X doesn't need the file extensions, so I don't add them...

My mistake; but thanks for spotting it! It works just fine now that I've added the file extension...:)

Connie
11-12-2005, 07:18 PM
Congratulation to the new Powerbook! And to get life returning to your photoblog!

And please don't forget the extensions in future, GD-Lib needs them!

tiburonsita
11-13-2005, 06:16 PM
I'm having this same problem. I do have the JPG extension. What has changed for me is the location of my pixelpost files. They are now in a new folder in my site. (alternatr domain) Seems like the new files I am Queing up don't show the thumb and instead show the title. I've got the permissions all checked...what else can it be?

Connie
11-13-2005, 06:19 PM
please, show the information which is supported in Admin/info-section

when you moved the installation, did you change the image-path etc.?
are the folders writable

always the same questions... show us the info please

tiburonsita
11-13-2005, 07:15 PM
<b>Paths</b>
Guessed imagepath: /home/virtual/site472/fst/var/www/html/images/
Configured Imagepath /home/virtual/site472/fst/var/www/html//itcaughtmyeye.com/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

The file shows up fine but if I check the archives page or the images in the admin page...it's the name of the file and a whit box respectively.

D**n, I think I just saw the problem. 2 forward slashes before the new directory. Maybe, let me check.

tiburonsita
11-13-2005, 07:17 PM
That wasn't it. Here's the error I get when I try to regenerate the thumbnails.

Warning: imagejpeg(): Unable to access ../thumbnails/thumb_20051113145648_anemone.jpg in /home/virtual/site472/fst/var/www/html/itcaughtmyeye.com/includes/functions.php on line 92

tiburonsita
11-13-2005, 08:39 PM
I tried poswting again, this is the error I get about the TN.

Warning: imagejpeg(): Unable to access ../thumbnails/thumb_20051113173651_dirtnap.jpg in /home/virtual/site472/fst/var/www/html/itcaughtmyeye.com/includes/functions.php on line 92

Warning: imagejpeg(): Invalid filename '../thumbnails/thumb_20051113173651_dirtnap.jpg' in /home/virtual/site472/fst/var/www/html/itcaughtmyeye.com/includes/functions.php on line 92

Warning: chmod(): Unable to access ../thumbnails/thumb_20051113173651_dirtnap.jpg in /home/virtual/site472/fst/var/www/html/itcaughtmyeye.com/includes/functions.php on line 94

Warning: chmod(): No such file or directory in /home/virtual/site472/fst/var/www/html/itcaughtmyeye.com/includes/functions.php on line 94
Any help is appreciated.

Joe[y]
11-13-2005, 09:39 PM
do you have jpg support for your gd lib? it will tell you if you do on your general info page.

tiburonsita
11-13-2005, 10:44 PM
It's the same host (MT) I just changed folder location. Everything else is working normal except the darn TNs.

Here's what it says:
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/2.0.46 (Red Hat)

Take a look at the Archives to see what I mean.
http://www.itcaughtmyeye.com

GeoS
11-14-2005, 12:33 AM
Did you drop chmod 777 on thumbnails dir??

tiburonsita
11-14-2005, 12:56 AM
Did you drop chmod 777 on thumbnails dir??
Sorry, but I have no isea what the heck you just said.

What's chmod 777?

blinking8s
11-14-2005, 04:19 AM
http://www.smartftp.com chmod instructions
http://www.smartftp.com/support/howto/flash/chmod.html

see also:
http://en.wikipedia.org/wiki/Chmod

tiburonsita
11-14-2005, 01:58 PM
I'm on a Mac. I'll see if I can work this on the pc laptop.

I do have the permissions to execute and write accross the board :(

tiburonsita
11-15-2005, 12:13 AM
My host was upgrading over the weekend to php 4.4.1.

There reply: It appears this is a new bug introduced in php 4.4.1. The bug is documented at http://bugs.php.net/bug.php?id=35071

They seem to have fixed this, but have not made an offical release yet. In the meantime, the solution is to 'touch' the file prior to the 'imagejpeg' call.

As a courtesy, I have modified includes/functions.php to implement this fix. The original, unmodified version has been renamed to functions.old.php."

This should help others w/the same problem.