Custom Upload
Paulsky
Registered Users Posts: 1 Beginner grinner
Hello,
I am trying to build a custom upload on my website to upload my photo's to my SmugMug account. I used the SmugMug API and everything worked. Except that uploading went very slow, plus that I had a limit of 30 MB. Maybe I have to change my php.ini settings or/and maybe because the video/photo is first temporarily uploaded to my server with a <input type="file" /> and then to SmugMug. Anyway, I tried another method. I want to use the (very nice working) upload system of SmugMug itself. By using this URL in an iFrame; "http://upload.smugmug.com/photos/html5addframe.mg?albumId=variablealbumid". The problem now is that I need to be logged in. I can log in with HTTP and your API method. But then I only have a session id. So my question is, can I set a cookie with that session id? Could you explain which information the cookie needs to have? Or does somebody has another method that he/she can recommend me? Hopefully you understand my question.
Thank you in advanced!
Kind regards,
Paul Wijnberg
I am trying to build a custom upload on my website to upload my photo's to my SmugMug account. I used the SmugMug API and everything worked. Except that uploading went very slow, plus that I had a limit of 30 MB. Maybe I have to change my php.ini settings or/and maybe because the video/photo is first temporarily uploaded to my server with a <input type="file" /> and then to SmugMug. Anyway, I tried another method. I want to use the (very nice working) upload system of SmugMug itself. By using this URL in an iFrame; "http://upload.smugmug.com/photos/html5addframe.mg?albumId=variablealbumid". The problem now is that I need to be logged in. I can log in with HTTP and your API method. But then I only have a session id. So my question is, can I set a cookie with that session id? Could you explain which information the cookie needs to have? Or does somebody has another method that he/she can recommend me? Hopefully you understand my question.
Thank you in advanced!
Kind regards,
Paul Wijnberg
0