Computer Science Canada

thumbnail generation

Author:  Homer_simpson [ Mon Aug 25, 2003 12:22 am ]
Post subject:  thumbnail generation

well i got this gallery with high quality pictures... i dun wanna load the whole picture and the resize it...(cuz it's a high quality)
how can i generate thumbnails with smalled resolution off my high quality pictures....(i dun care how much bandwidth it takes)...
TY

Author:  Amailer [ Mon Aug 25, 2003 12:25 am ]
Post subject: 

'Google shows the answer to all...'
http://www.phpbuilder.com/mail/php-general/2001071/2027.php


http://www.google.ca/search?q=PHP%3A+thumbnail+generation&ie=ISO-8859-1&hl=en&meta=

Author:  Homer_simpson [ Mon Aug 25, 2003 1:09 am ]
Post subject: 

ya...ya... ya... i've googled it my self too Razz i've also look in hotphpscripts but they GD libraries and for some very odd reason i can't use any of the commands that they use... any sample code will be "bitten" =Þ

Author:  octopi [ Mon Aug 25, 2003 1:54 am ]
Post subject: 

Do you have gd2 compiled into your php binary/module?
If not you need to load it.

I haven't used gd on windows within the last 6months, So I can't think of anything off the top of my head. I rememeber having to add something to the php.ini file, along the lines of Load_Module "/path/gd2.dll", or something.


And thanks Amailer, for trying to show homer how easy it is to use google.

Author:  Amailer [ Mon Aug 25, 2003 7:25 am ]
Post subject: 

er hmm np

Author:  Homer_simpson [ Mon Aug 25, 2003 1:17 pm ]
Post subject: 

well i got it like this in my php.ini:
;extension=php_gd.dll

but it doesn't seem to do anything... i tried to do it manually from php files also but it gives me warnings saying that unable to load info from extention...
maybe downloading GD2 of the net would help :S

Author:  Homer_simpson [ Mon Aug 25, 2003 1:27 pm ]
Post subject: 

nvm
i figured that i gotto change ;extension=php_gd.dll to extension=php_gd.dll
; makes it a comment Confused
Smile TY

Author:  PaddyLong [ Mon Aug 25, 2003 3:14 pm ]
Post subject: 

lol always the silly little things that fuck shit up Laughing


: