Quick HTML/Javascript question...

Status
You're currently viewing only pelican's posts. Click here to go back to viewing the entire thread.
Not open for further replies.

pelican

Wise, Aged Ars Veteran
184
I don't think what you're looking for is possible. The only way to do that is to send them a weird up mime type that'll cause a download window to open (like this:)

Content-Type: application/octet-stream
Content-Disposition: attachment; filename=imagename.png
followed by the binary data

And then they can choose to open the download in an image editor.

I also think I'd really object if JavaScript from a webpage could open something on my local machine. Seems like it'd be a major security issue.

--pelican
 
Status
You're currently viewing only pelican's posts. Click here to go back to viewing the entire thread.
Not open for further replies.