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

Open ImagePicker or Gallery from Lightbox example #141

Closed
sverin opened this issue Oct 4, 2017 · 3 comments
Closed

Open ImagePicker or Gallery from Lightbox example #141

sverin opened this issue Oct 4, 2017 · 3 comments

Comments

@sverin
Copy link

sverin commented Oct 4, 2017

Is there a way from Lightbox to open ImagePicker or Gallery? Examples in the other projects shows how to open Lightbox from them, but I want to do the other way around.

The users in my app should be able to add one or more images, view them and possibly add more in another session. So I wanted to use Lightbox as a image gallery to view images, and then ImagePicker or Gallery to add more images. But I want be able to add more images from Lightbox and I can't figure it out.

@onmyway133
Copy link
Contributor

@sverin Hi, your use case is a bit special. Maybe you can just add some buttons inside headerView of Lightbox, and trigger the action to open ImagePicker or Gallery?

@sverin
Copy link
Author

sverin commented Oct 4, 2017

@onmyway133 That was my thought too, I'll maybe give that a try. What would be a better way since you think it's special. One button to view the images and one button to add new ones?

@sverin
Copy link
Author

sverin commented Oct 4, 2017

Okay, figured it out. I'll try both ways and see what works best. Thanks for a set of awesome libraries. Keep up the great work.

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