Jump to content

Archived

This topic is now archived and is closed to further replies.

wwfc_barmy_army

[Solved]Thumbnail Image?

Recommended Posts

Hello.

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

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

Thanks.

Peter.

Share this post


Link to post
Share on other sites
http://phpthumb.sourceforge.net/

Check if your host supports GD library

Share this post


Link to post
Share on other sites
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,

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.