Greetings everyone!
So here's my problem: I'm trying to let users generate an image and then upload it to an 'archive' on tumblr. I'm using the PHP code at
https://gist.github.com/1649885, and it works for text posts, i.e. if I change $params to array("body" => "stuff", "type" => "text"); but when I use the code provided to try to upload an image, it throws 401 Not Authorized. So I know my access keys work at least.
A related question:
Standard (i.e. not generated by my script) JPGs uploaded fine on my Mac's Apache server, but not when I uploaded it to my host. But generated images have never worked -- does tumblr verify JPGs or is it possibly an encoding issue?
Thanks in advance,
Stephen