marcanthonyphoto
Chevereto Member
I read the documentation on the API and got uploading to work to a users account except that you are hardcoding the name (i.e.CHV\Image::uploadToWebsite($source, 'jesse')😉 . I want to change the uploadtowebsite to be like this CHV\Image::uploadToWebsite($source, $user_id, $album); This way the api would upload into a users account and album based on the get statement like this.
https://www.yoursite.com/api/1/uplo...uruseraccount&album=youralbumname&format=json
Can this be done? If so, how. I need this bad.
https://www.yoursite.com/api/1/uplo...uruseraccount&album=youralbumname&format=json
Can this be done? If so, how. I need this bad.