If a new image is generated each time then why don't you rewrite the php script? Add some statement that says if the script is requested via Ajax (I do this by passing a get variable) then return the image resource, otherwise (if the get variable specifying an AJAX call is missing) then save the image to the server.
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...
awesome.
if you are using greasmonkey, you can ajax the image url, load it to a canvas tag, and export the canvas to a dataURI. look up "cross domain greasemonkey" and "canvas tag"...
if you are using greasmonkey, you can ajax the image url, load it to a canvas tag, and export the canvas to a dataURI. look up "cross domain greasemonkey" and "canvas tag"...
think you missed:
Originally Posted by Puggan
I can't use ajax or read the file, as it generate a new picture each time, i need to copy the current one
Bookmarks