godaddy pictures issue

well I have dedicated server through go daddy- blah well either way.

When I have pic trying to upload into the gallery and the file is too big (even thoughI have altered the php.ini to state otherwise and restarted the httpd the file begins load into the gallery buit then goes to an browser error screen- but then  has a blank screen where the photo should be,

so when  you are in the pictures page and you click on the *see original size the pictures there but it doesnt resize the pic to the gallery weird.

Some one told me it was gd library that is at fault but when I call GD they dont know what I am talking about. grrrr.

Any one have this issue?

Maxx

Quote · 19 Nov 2009

Is this happening when your try uploading with the flash loader? If so, this was fixed a while back. Edit your inc/utlis.inc.php file and replace the "function return_bytes" with this one.

// calculation ini_get('upload_max_filesize') in bytes as example
function return_bytes($val) {
$val = trim($val);
$last = strtolower($val{strlen($val)-1});
$val = (int)$val;
switch($last) {
// The 'G' modifier is available since PHP 5.1.0
case 'k':
$val *= 1024;
break;
case 'm':
$val *= 1024 * 1024;
break;
case 'g':
$val *= 1024 * 1024 * 1024;
break;
}
return $val;
}

Nothing to see here
Quote · 19 Nov 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.