Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Multiple Images #10

Open
AustinMCrane opened this issue Nov 4, 2021 · 4 comments
Open

Upload Multiple Images #10

AustinMCrane opened this issue Nov 4, 2021 · 4 comments

Comments

@AustinMCrane
Copy link

Hello,

I am looking through your package api and see client.UploadImage do you just use the same album string to do this? Some documentation could be helpful

Thanks Guys/Gals/Etc! Awesome job

@jbreitbart
Copy link
Member

Thanks for reporting, but I am not sure if I got your question. UploadImage[0] uploads a single image and you have to pass the album ID for that image. Does that answer your question? If you have a suggestion on how to improve the documentation, I am happy to fix that.

[0] https://pkg.go.dev/github.com/koffeinsource/go-imgur#Client.UploadImage

@AustinMCrane
Copy link
Author

How do i upload multiple images to the same album? At the same time preferably. In imigur you can start a post and add multiple images to it

@AustinMCrane
Copy link
Author

like this
Screen Shot 2021-11-04 at 10 50 29 AM

@jbreitbart
Copy link
Member

That should be possible by calling the function multiple times with the same album id. I'll try that later and add a sentence to the documentation. Thanks for clearing that up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants