Forum Moderators: phranque

Message Too Old, No Replies

Using GD to resize Images

         

matthewamzn

2:56 pm on Apr 26, 2006 (gmt 0)

10+ Year Member



I'm using a php/mysql script to display photo albums. Is there a way to change the width of the displayed images with GD 2.

if($admin_info[url] == 1) {
if($file == "/pictures/") {
$url = $prefix."$journal";
} elseif($file == "album") {
$url = $prefix."albums/$username/$extras";
} elseif($file == "archive") {
if($year == "" ¦ $month == "") {
$url = "$prefix$journal/$file/$extras";
} else {
$url = "$prefix$journal/$file/$year/$month/$extras";
}

MichaelBluejay

9:39 am on Apr 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What is GD 2?

matthewamzn

2:48 pm on Apr 27, 2006 (gmt 0)

10+ Year Member



My server is running GD Libraries 2.0.28

mattglet

5:47 pm on Apr 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Probably better to ask the question in the PHP forum.