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

Delete an image from the gallery #77

Open
iamsim opened this issue Feb 15, 2017 · 2 comments
Open

Delete an image from the gallery #77

iamsim opened this issue Feb 15, 2017 · 2 comments

Comments

@iamsim
Copy link

iamsim commented Feb 15, 2017

I am implementing this to show a set of images that are captured. I should be able to delete an image from the set at any point of time. Please help me with this.

@pedroabreu
Copy link
Owner

How are you trying to do this ? It should work by simply deleting it from the photos passed down to the directive

@iamsim
Copy link
Author

iamsim commented Jun 26, 2017

I have an array from which ion-gallery images are populate.
I am capturing images from camera/gallery and adding images to the array and then submit the array to my backend to store.

I need a mechanism to show a delete icon on every image. On click of which should delete the respective image from the array. I can do the splice from array but I need a mechanism to place a button on every image to delete that image.

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