PDA

View Full Version : thumbnail issues


tbell
10-02-2005, 03:36 AM
okay, I've read all the forumns and still can't get these to show up. I can't get the GD properly set up.

photoblog:
www.tylerbell.net/photoblog/
click on the dropdown browse to see thumbs

php info:
www.tylerbell.net/photoblog/test.php

extension=php_gd2.dll unchecked

extension_dir="./"
not sure is this is right, the dll is located in C:\PHP\extensions

can anyone advise?

thanks.

GeoS
10-02-2005, 08:39 AM
I dont see GD support on your phpinfo(); page. Restart IIS and all should start to work.

tbell
10-03-2005, 12:49 AM
I have tried this, but something is not right. When the gd lib is uncommented any page with .php loads forever, ie never showing up in the browser. Is the extension directory correct? The php dll is in the windows\system32 folder.

GeoS
10-05-2005, 11:59 AM
Now I see that you have correct extension_dir. Did you download complete PHP distribution (current 4.4 is near 7 MB).

PS Try to regenerate thumbs now - if all is OK that should work.

tbell
10-06-2005, 05:07 PM
Yes, I did get the gd-lib thing worked out, but thumbnails still don't generate.

currently have PHP 4.3.4. Are you suggesting I upgrade to 4.4? What about 5.0.5? I don't have PHP installed as CGI.

GeoS
10-11-2005, 02:11 PM
PHP Version (if you have minimal requirement passed) isnt important. Maybe try to check your permissions.

hallanders
11-22-2005, 08:49 PM
PHP Version (if you have minimal requirement passed) isnt important. Maybe try to check your permissions.

I've read this thread since I too have problems with thumbnails not being made.
My host runs php 4.3.4 on IIS/5.0 and has GD enabled.

When I run phpinfo.php in the folder "includes" it says this:
http://www.folkbitar.com/temp/gd-phpinfo.gif

But when I look at "General Info" in the administration section it says this:
http://www.folkbitar.com/temp/gd-lib.gif

I run Pixelpost 1.4.3

You are talking about "checking your permissions".
Could you please develop that to me?
What permissions do you mean?

regards
Anders

Connie
11-23-2005, 06:17 AM
this means that PP is not indentifying GD lib
this can happen if it is not installed correctly or if it is too old
at least it means that your GD LIB does not support JPG creation and therefore it does not work

ask your hoster to update GD lib
that takes just a short effort, but your version is absolutely too old...

hallanders
11-23-2005, 07:51 AM
this means that PP is not indentifying GD lib
this can happen if it is not installed correctly or if it is too old
at least it means that your GD LIB does not support JPG creation and therefore it does not work

ask your hoster to update GD lib
that takes just a short effort, but your version is absolutely too old...

Thanks for the reply!
I had my thoughts about the GD being too old,
but I couldn't find in the documents
provided in the zip-file, what version of GD i required as a minimum.
It just says: "PHP with GD-lib with JPG-support, required for thumbnailing".

Anyway, thanks again. I have sent an email to my host.

/anders

hallanders
11-26-2005, 08:11 AM
...I have sent an email to my host.

/anders

Still having problems.
My host tells me that the GD they have (1.6.2 or higher)
is sufficient and that the problem has to do with something else.

I also saw that my host is running a MySQL version that is:
MySQL version 3.23.51-max-nt, slightly older than the
one you recommend.

What to do now?

regards
/anders

raminia
11-26-2005, 09:08 AM
Does your host's GD have "JPG-support" ?

hallanders
11-26-2005, 09:31 AM
Does your host's GD have "JPG-support" ?

Yes, my host has enabled "JPG-support.



http://www.folkbitar.com/temp/gd-phpinfo.gif




regards
/anders

raminia
11-26-2005, 09:32 AM
min requirements are necessary.

Edit:
Where is your photoblog?

hallanders
11-26-2005, 09:33 AM
min requirements are necessary.

And what are the min GD requiremenst?
I can't find it in the provided documents.

raminia
11-26-2005, 09:38 AM
when I cannot see the URL I cannot help you

hallanders
11-26-2005, 09:41 AM
when I cannot see the URL I cannot help you

URL to my pixelpost?

http://www.folkbitar.com/flog/

raminia
11-26-2005, 09:47 AM
URL to my pixelpost?

http://www.folkbitar.com/flog/
Hi finepix s5000 owner! I'm proud owner of Finepix s5500.:)

In your case, the thumbnail jpg files are created but they have wrong format or something similar. Questions
1) did you set permissions to thumbnails and images folders? Since you are on IIS you should ask your host admin to set permission for you. Tell them to set permission to chmod 777 and they know what to do.
2) If you have set the permission there might be some difficulty with PHP version that they are using. Tell me if it does not work and I'll think about another way to make it work!

hallanders
11-26-2005, 09:54 AM
Hi finepix s5000 owner! I'm proud owner of Finepix s5500.:)

In your case, the thumbnail jpg files are created but they have wrong format or something similar. Questions
1) did you set permissions to thumbnails and images folders? Since you are on IIS you should ask your host admin to set permission for you. Tell them to set permission to chmod 777 and they know what to do.
2) If you have set the permission there might be some difficulty with PHP version that they are using. Tell me if it does not work and I'll think about another way to make it work!

1) Ok. I tried to do that myself through the FTP, but I'll tell my support.
2) Sure will :-)

Thanks for replying!
/anders

raminia
11-26-2005, 09:54 AM
On IIS you cant do that with FTP.

hallanders
11-26-2005, 10:01 AM
I thought so too, but something is worng here.
When I change to CHMOD777 it flips back to CHMOD666 the next time I check the permsissions.
I'll have to talk with my support about this.

hallanders
11-27-2005, 07:16 PM
Have sent an email to my support but haven't heard anything from them yet.
In the meantime I tried this solution: http://forum.pixelpost.org/showthread.php?t=2736

but that didn't help either. :-(

raminia
11-28-2005, 04:40 AM
IIS users are users with Windows host. They cannot change folder permissions without admin permissions! That's the case. Closed!

tinyblob
11-28-2005, 08:01 AM
Windows servers causing problems? Surely not! ;)

raminia
11-28-2005, 08:16 AM
the problem is users can't set chmod 777 on ftp.

tinyblob
11-28-2005, 08:54 AM
I know, i was being sarcastic because i don't have a very high opinion of Windows webservers :)

hallanders
11-28-2005, 09:16 AM
I asked my support to chmod777 my folders.
He replyed to me and said that I have the right permissions on my folders.

I'm getting a little confused now.
When I check the properties on the folders with my FTP-software it says 666.

tinyblob
11-28-2005, 09:31 AM
Ack. 666!
wikipedia: 666 (http://en.wikipedia.org/wiki/Number_of_the_Beast_%28numerology%29)

Can you right click on the folder and edit permissions now?

If not i recommend giving your ftp username and password (change it to a temporary password first) to a trustworthy member of the community to check out your settings. I nominate Raminia.

raminia
11-28-2005, 09:38 AM
tell your host admin that right permissions are not what they say, but they are what you want to be!

chmod 777 for images and thumbnails folders.

hallanders
11-28-2005, 09:43 AM
Ack. 666!
wikipedia: 666 (http://en.wikipedia.org/wiki/Number_of_the_Beast_%28numerology%29)

Can you right click on the folder and edit permissions now?

If not i recommend giving your ftp username and password (change it to a temporary password first) to a trustworthy member of the community to check out your settings. I nominate Raminia.

No, I can't edit my permissions.
That's only for my host to do.
I can't change my username and password myself...

Would it help if I make a "print screen" on the properties that shows when I right click the folder and post it here?

raminia
11-28-2005, 09:47 AM
if you have admin access read this
http://www.experts-exchange.com/Web/Web_Servers/IIS/Q_21544929.html

or simply
To do the equivalent in Windows of CHMOD 777:
1. Select the file Properties and clear all check boxes.
2. Select the Directory Share, and make sure that everyone has full
rights to that directory.

Edit:
check
http://www.1planhost.com/support/s_CHMOD-tutorial.asp
for equvalence of chmod xxx to windows' counterpart

raminia
11-28-2005, 09:49 AM
Your host admin MUST do that for you! Asked them seriously!

hallanders
11-28-2005, 09:53 AM
if you have admin access read this
http://www.experts-exchange.com/Web/Web_Servers/IIS/Q_21544929.html

or simply
To do the equivalent in Windows of CHMOD 777:
1. Select the file Properties and clear all check boxes.
2. Select the Directory Share, and make sure that everyone has full
rights to that directory.

I don't have admin access and the host has set the FTP so that only they can change things like that.

EDIT:
I missed your last replay, Raminia.
I'm trying to get my host to understand whats going on,
but they don't seem to get it...

raminia
11-28-2005, 09:56 AM
Dear hallanders,
no one on the earth can change permission through FTP on windows servers!

hallanders
11-28-2005, 10:03 AM
Dear hallanders,
no one on the earth can change permission through FTP on windows servers!

I'm sorry for not understanding you very well, Raminia.

The one that can change my permissions is my host, right?
And he says that I have the right permissions..

I'll leave it here...

tanks anyway, yuou have been very helpfull and patient with me.

raminia
11-28-2005, 10:04 AM
I was wondering that if your problem stems wholly from chmod issue why you could upload files without problem.... chmod is a problem but it can't be just that.

raminia
11-28-2005, 10:06 AM
your host says that you have read/write/execute permission on images and thumbnails? if so it's ok and we can focus on other issues, which would be the createthumbnails function of PP.

hallanders
11-28-2005, 06:31 PM
I still haven't got a final reply from my webbhost,
but I installed another photolog, Pictorialis, just
to see what happens.
This one also has to have the permissions set to CHMOD777, just like Pixelpost.
And it works.
So then my permissions must be right
and something else is wrong, just like you said, raminia.

Does some of your earlier versions of PP use GD that is a little bit older than the one that is required for this version?
Just thought that I could try with that and see if that works.

/anders

Connie
11-28-2005, 06:56 PM
PP always worked with the same version of GD, we have no version which works with older GD lib...

hallanders
11-29-2005, 12:14 PM
I've finally got my Pixelpost working!

My host upgraded their PHP to 4.3.9
and that included a newer version of GD.

Once again, thank you for your support!

cheers
Anders

Connie
11-29-2005, 05:10 PM
Anders, great!

I am glad about it!