Quote:
Originally Posted by rrr
Thanks for the reply, Geek.
Man, I don't know what's going on here. I commented out those lines and no luck.
I tried a png file a jpg file and a gif file, and none of them resized, I still got the dimensions to large error like it wasn't doing the shrinking at all.
I tried changing require_once('./includes/functions_geekautoavatar.php');
to the full path to that file and still nothing.
I'd almost feel better if there was SOME sort of php error that gave me a hint what to look for. But noooo, it's just being passive agressive an saying:
"That image is too large. The maximum dimensions are 48 by 48 pixels."
|
stick some echo commands in to see if the script is getting called and where its failing.
If you look at the code - its almost identical to the one in functions_geekarticles_images.php
In fact, all I did was port it over so I could have an easy way for users to upload avatars and profile pictures without the constant posting about 'how do I resize my picture?'.
Just every few lines in it - put
echo("Im here now- 1");
echo("Now Im here 2");
etc...
And see where you get. Other than that - I dont know what to tell you