yup, you were right. I was naming the image "image.png.png". DOH!
been a long week....
Thanks!!
On Jul 9, 2004, at 6:42 PM, Jason Wong wrote:
On Saturday 10 July 2004 06:38, Jough P wrote:
Greetings all, I have a real simple function. I works well on JPG
images but ImageCopyResized(), or ImagePNG() doesn't seem to be
working. When I view the uploaded file it is still it's original
size.
Here is the function. I hope someone can help me, I'm pretty
stumped.
Several points:
1) Is this copy and paste? You seem to have a missing semi-colon in
your code.
2) You do realise you're using a different filename for your resized
PNG?
3) Strip your code down to the bare minimum so that you can isolate the
problem and make debugging easier. In this case remove the jpeg stuff
and
hence the IF clauses.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"We Americans, we're a simple people... but piss us off, and we'll bomb
your cities."
-- Robin Williams, _Good Morning Vietnam_
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php