Hey who got a code to auto resize the images after upload ?
Added after 12 minutes:
here are the code i have in the shoutbox but i cant see how to resize the nick icon on here
and this one ive got on main page
any how i can make it smaller like 35x35 with this or other coding \" height=\"100\" width=\"100\" alt=\"*\
Added after 12 minutes:
here are the code i have in the shoutbox but i cant see how to resize the nick icon on here
Code:
$online = mysql_fetch_array(mysql_query("SELECT sex, uicon FROM mx_users WHERE id='".$uid."'")); if($online[1]=="") { $seximg = ""; }else{ $seximg = "<img src=\"$online[1]\" alt=\"*\"/>"; } $shnick = getnick_uid($uid); $cname = cname($uid); if(($cname == "000000")||($cname == "")){ $fonto = ""; $fontc = ""; }else{ $fonto = "<font color=\"$cname\">"; $fontc = "</font>"; } $shbox .= "<table><tr><td>".$seximg."<a href=\"prov.php?show=viewuser&hits=$hits&who=$uid\">$fonto".$shnick."$fontc</a></td><td><br/>"; $ctext = ctext($uid); if(($ctext == "000000")||($ctext == "")){ $texto = ""; $textc = ""; }else{ $texto = "<font color=\"$ctext\">"; $textc = "</font>"; }
Code:
$cname = cname($uid); if(($cname == "000000")||($cname == "")) { $fonto = ""; $fontc = ""; }else{ $fonto = "<font color=\"$cname\">"; $fontc = "</font>"; } echo "$login Login As $seximg<a href=\"prov.php?show=viewuser&hits=$hits&who=$uid\">$fonto$nick$fontc</a><br/>";
Comment