Re: Hidden images.

From: Date: Fri, 21 Jan 2005 21:03:06 +0000
Subject: Re: Hidden images.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-206993@lists.php.net to get a copy of this message
Rob Adams wrote:
"Richard Lynch" <ceo@l-i-e.com> wrote in message news:2057.66.99.91.45.1106337756.squirrel@www.l-i-e.com...
Rob Adams wrote:
Ok - I've finally got something that sometimes works. http://smada.com/images/hide_image.php
I dunno what you did to the first file upload button, but as soon as I choose the FIRST file, I get: Warning: imageistruecolor(): supplied argument is not a valid Image resource in /usr/local/psa/home/vhosts/smada.com/httpdocs/images/hide_image.php on line 60
That is strange. Doesn't happen to me. The javascript should just be making sure the images are a supported type.
I was using firefox. the javscript also calls the submit button of the form (if the file extension is okay - which is a nice check to do for honest people but won't stop B@d@@ssH@X3r from uploading a binary or whatever - so check the mime-type on the sideserver also) - maybe the call to the submit button doesn't work in IE.
Here is my best so far: http://smada.com/images/Snow.png (2 MB) (http://smada.com/images/Snow.jpg <-- not as big, but doesn't look as good either) These have to be opened in IE.
indeed, and may I be one to congratulate you - I love to see people keep hacking the problem/challenge and get it working. especially since what you are trying to do is quite manic (image manipulation is a heavy science, just ask the 200K/year guys at Adobe ;-). very cool indeed (pun intended!) :-)
-- Rob


« previous php.general (#206993) next »