Re: Hidden images.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rob Adams wrote:
"Richard Lynch" <ceo@xxxxxxxxx> wrote in message news:2057.66.99.91.45.1106337756.squirrel@xxxxxxxxxxxxxxxx

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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux