Jump to content

Archived

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

BaconBeast321

Display full picture as thumbnail

Recommended Posts

Hi there I have users uploaded photos of any size and I have a viewing section which I want to show these pictures as thumbnails..
how do I go about doing this?

Share this post


Link to post
Share on other sites
Take a look at the functionality provided in the [url=http://php.net/gd]gd[/url] library, or maybe even search for a tutorial on php thumbnials. Im sure the topic has been covered many times.

Share this post


Link to post
Share on other sites
<img src='imageurlhere' height='120' width='120'>

Unless you want to use GD to make actual thumbnail images. That's a whole nother story :D

Share this post


Link to post
Share on other sites
[quote]Unless you want to use GD to make actual thumbnail images. That's a whole nother story[/quote]

You would assume if the question is being asked on a php forum that the op wants to know a php solution and not a html hack.

Share this post


Link to post
Share on other sites
Here's a script you might find useful to adapt ...

http://www.blazonry.com/scripting/upload-size.php

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.