Announcement

#1 2003-03-23 22:27:52

teim
Member
2003-03-23
3

Automatic Thumbnail Creation

hey all,
this is one $£^%$£ of a script!
good work! can't w8 till version 1.3 is released keep the good work up!

owk .. now that is said i have a question for you guys out here.
I succesfully installed the script and inserted some own links. now i try to use the automatic thumbnail creator in the admin page, but it won't work... maybe this is because i haven't installed the gd thingy


i use windows 2000 with apache 1.3, php 4.2.2 and mysql Client API version 3.23.39

any one know what i have to do to make this working???

Offline

 

#2 2003-03-24 12:02:44

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Automatic Thumbnail Creation

you have to find the right dll for GD library. Search it on google, I think you should find it quite easily

Offline

 

#3 2003-03-24 21:48:36

teim
Member
2003-03-23
3

Re: Automatic Thumbnail Creation

you have to find the right dll for GD library. Search it on google, I think you should find it quite easily

what should this gd dll file have to be named???

php_gd.dll
????
becaus i got this file already ... 

Offline

 

#4 2003-03-24 21:53:25

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Automatic Thumbnail Creation

yes I suppose it should be the right name. What are the erros when you try to create thumbnails ?

Offline

 

#5 2003-03-25 22:20:35

teim
Member
2003-03-23
3

Re: Automatic Thumbnail Creation

yes I suppose it should be the right name. What are the erros when you try to create thumbnails ?

i don't get any error, it just seams to suppose to work right, but when checking back in my directory's etc, it doesn't show it is created, and it doesn't create anything .. soo ... well shit happens .... but never mind ... i already got a simple solution .... acdsee :) ... really handy tool :D

Offline

 

#6 2003-03-28 13:28:54

Snake
Member
2003-03-05
12

Re: Automatic Thumbnail Creation

Maybe you should try to change the CHMOD of your pictures directory to 777 in order to make thumbnails work !

I had the same bug long time ago just because of the CHMOD !

Offline

 

#7 2003-04-28 22:52:44

Guest_teim
Guest

Re: Automatic Thumbnail Creation

Maybe you should try to change the CHMOD of your pictures directory to 777 in order to make thumbnails work !

I had the same bug long time ago just because of the CHMOD !

ermz ... chmod on windows system? don't think that's gonna work :)

 

#8 2003-04-29 08:13:29

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Automatic Thumbnail Creation

create a file "info.php" with this content :

Code:

<?php
phpinfo();
?>

and tell me if gd is available and which version

Offline

 

#9 2003-06-04 18:01:17

Luke
Guest

Re: Automatic Thumbnail Creation

I have chmod'd all my directories to 777, but it gives a permissions error when I try to create thumbnails. Any suggestions? Anyone willing to look at my FTP files for 3 minutes or so?

 

#10 2003-06-04 21:48:06

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Automatic Thumbnail Creation

can you show me the error PhpWebGallery gives you ?

Offline

 

#11 2003-06-05 05:04:05

mrturtle
Member
2003-06-04
1

Re: Automatic Thumbnail Creation

These are the warnings (I am Luke from above)...I have set the permissions for the directory to 775, and I have another gallery on the site that works well...I don't understand. It looks like the script can't create the directory for the thumbnails, and then once it can't do that, it is unable to move the created images after that. Any suggestions? I don't understand why mkdir doesn't work.
-----------------
Warning:  mkdir(../galleries/test/thumbnail) [function.mkdir]: Permission denied in /home/mrturtle/public_html/phpwebgallery/admin/thumbnail.php on line 159

Warning:  imagejpeg() [function.imagejpeg]: Unable to open '../galleries/test/thumbnail/TN-bg.jpg' for writing in /home/mrturtle/public_html/phpwebgallery/admin/thumbnail.php on line 164

Warning:  getimagesize(../galleries/test/thumbnail/TN-bg.jpg) [function.getimagesize]: failed to create stream: No such file or directory in /home/mrturtle/public_html/phpwebgallery/admin/thumbnail.php on line 173

Warning:  filesize() [function.filesize]: Stat failed for ../galleries/test/thumbnail/TN-bg.jpg (errno=2 - No such file or directory) in /home/mrturtle/public_html/phpwebgallery/admin/thumbnail.php on line 174

Offline

 

#12 2003-07-24 02:09:57

Guest_Zork
Guest

Re: Automatic Thumbnail Creation

It could the fact that you have the wrong GD library...
Try uploading this into your web site about half way down it will shown you if you have the GD libray installed and which version it is.

Also do you have the server setup on your home computer is it ISP web hosting service that your using.

put this in your favourite word editor

<?
phpinfo();
?>

name it PHP and upload to your server,then call it through your explorer.
if you have gd installed it will show it half way down and what version it is installed.


 

#13 2003-07-24 02:11:12

zork
Member
uk
2003-02-20
24

Re: Automatic Thumbnail Creation

Opps that should read

<?
phpinfo();
?>   

Offline

 

#14 2003-07-28 21:14:27

Jens
Guest

Re: Automatic Thumbnail Creation

After you placed the php_gd.dll on the server, you have to edit the php.ini

you have to delete the ';' in front of "extension=php_gd.dll"

And you have to specify the extensionsfolder above like "C:\php\extensions"

Perhaps you have to take the php_gd2.dll, because i had problems with the 1 version under php 4.3.1

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact