Jump to content


Photo

[Solved]Thumbnail Image?


  • Please log in to reply
5 replies to this topic

#1 wwfc_barmy_army

wwfc_barmy_army
  • Members
  • PipPipPip
  • Advanced Member
  • 320 posts

Posted 02 October 2006 - 08:24 PM

Hello.

I have an image shown which is got from a database using this:
<?php print "<img src=$qry[screenshot]>"; ?>

Although is there anyway to make it so it shows a smaller thumbnail of the image?

Thanks.

Peter.

#2 mendoz

mendoz
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts

Posted 02 October 2006 - 08:34 PM

http://phpthumb.sourceforge.net/

Check if your host supports GD library

#3 wwfc_barmy_army

wwfc_barmy_army
  • Members
  • PipPipPip
  • Advanced Member
  • 320 posts

Posted 02 October 2006 - 08:43 PM

Thanks.

Looks great. Do i just copy all the files into my home directory or can it go anywhere?

Thanks.

Peter.

#4 wwfc_barmy_army

wwfc_barmy_army
  • Members
  • PipPipPip
  • Advanced Member
  • 320 posts

Posted 02 October 2006 - 10:24 PM

Ok, i've running a test development server on my computer and i haven't installed GD on it yet, it comes up with 'no GD', but it looks like the site for GD is down. Whats the procedure for installing GD on apache on windows xp?

Thanks.

Peter,

#5 mendoz

mendoz
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts

Posted 04 October 2006 - 10:22 AM

Can't help you with that, sorry

#6 MCP

MCP
  • Members
  • PipPipPip
  • Advanced Member
  • 60 posts

Posted 04 October 2006 - 12:06 PM

remove the ";" in front of the line
extension=php_gd2.dll

in php.ini

Also, be sure your extension dir is set appropriately so it can find php_gd2.dll, which should be in the php extensions directory

extension_dir = "c:\php\extensions"

for example




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users