# Delete Image in List of Images

**URL:** <https://forum.bubble.io/t/delete-image-in-list-of-images/1069>\
**Category:** Need help\
**Created:** [January 15, 2016, 3:42am UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069 "2016-01-15T03:42:49Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![csblack](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@csblack](https://forum.bubble.io/u/csblack)\
**Post date:** [January 15, 2016, 3:42am UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/1 "2016-01-15T03:42:49Z")

</div>

Rookie question, so I apologize. But I’m trying to delete a single image in a list of images. I am displaying an image in a popup group. When I put a button with a workflow of Data \> Delete Thing \> Parent Group’s Image, the workflow is invalid (red). Make a change to list of things doesn’t work either.

What am I missing here?

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 15, 2016, 6:32am UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/2 "2016-01-15T06:32:03Z")

</div>

“Make changes to a list a things” is what you want, but it is a little hard to get your head round the first time so don’t worry 🙂

The “list to change” is the field with the list of images. You then use the remove action to remove the image that is being clicked on.

![](https://us1.discourse-cdn.com/bubble/original/1X/33e659d56ea34c34e3db4ffd5adf6bf4b8f06cce.png)

So here I am “unfriending” someone. Removing an entry from the my\_friends\_list. I point to the list (which is on the user) and remove.

In your case you need to point the first box to the list of images and remove the one in the group.

---

<div class="post-metadata">

**Author:** ![csblack](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@csblack](https://forum.bubble.io/u/csblack)\
**Post date:** [January 15, 2016, 6:40pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/3 "2016-01-15T18:40:00Z")

</div>

Makes sense. But here is what I get…

![](https://us1.discourse-cdn.com/bubble/original/1X/5742ab7e5b6d7cf0837ac9889ae1694c896be95a.png)

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 15, 2016, 8:28pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/4 "2016-01-15T20:28:56Z")

</div>

What does the error message say in the Issues Log ?

How is Product Images set up on the database ?

---

<div class="post-metadata">

**Author:** ![csblack](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@csblack](https://forum.bubble.io/u/csblack)\
**Post date:** [January 15, 2016, 10:04pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/5 "2016-01-15T22:04:28Z")

</div>

It says the list to change should be a list of businesses but it is a list of images.

![](https://us1.discourse-cdn.com/bubble/original/1X/b527e576456f6094e0c83f58dad6fa7db701f8ce.png)

Under custom data type Business it is a list of Images.

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [January 15, 2016, 10:08pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/6 "2016-01-15T22:08:07Z")

</div>

Your issue here, if i understand the situation correctly, is that the type of list you want to change isn’t a list of business, but a list of images. A better way to do it would be to modify the Current Page Business, and pick the field ‘Product Images’, and modify this in the ‘Change another value’ section.

---

<div class="post-metadata">

**Author:** ![csblack](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@csblack](https://forum.bubble.io/u/csblack)\
**Post date:** [January 15, 2016, 11:00pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/7 "2016-01-15T23:00:09Z")

</div>

Yes, that worked. Thanks.

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [January 15, 2016, 11:05pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/8 "2016-01-15T23:05:55Z")

</div>

Can you share a screenshot of the new setting for others?

---

<div class="post-metadata">

**Author:** ![csblack](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@csblack](https://forum.bubble.io/u/csblack)\
**Post date:** [January 15, 2016, 11:19pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/9 "2016-01-15T23:19:00Z")

</div>

![](https://us1.discourse-cdn.com/bubble/original/1X/61f53fcc6b2252a55253142b233fd3fe28ed2498.png)

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [January 16, 2016, 7:32am UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/10 "2016-01-16T07:32:39Z")

</div>

Sorry, my fault, misunderstood the question.

---

<div class="post-metadata">

**Author:** ![Bradluffy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bradluffy/32/955_2.png) [@Bradluffy](https://forum.bubble.io/u/Bradluffy)\
**Post date:** [February 10, 2016, 8:10pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/11 "2016-02-10T20:10:08Z")

</div>

From what I gathered here, removing something from a list is the same as deleting it?

I have a list of files. I want to remove “delete” one of those files. I set a trash icon on and set it to remove current cells file.

This does remove it from the repeating box, but does it delete that file from the database?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [February 10, 2016, 10:34pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/12 "2016-02-10T22:34:23Z")

</div>

No it doesn’t. it just removes it from the list.

---

<div class="post-metadata">

**Author:** ![Bradluffy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bradluffy/32/955_2.png) [@Bradluffy](https://forum.bubble.io/u/Bradluffy)\
**Post date:** [February 10, 2016, 10:41pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/13 "2016-02-10T22:41:52Z")

</div>

How can I delete a file from a list of files permanently. Like if there is file a,b,c and I want to delete B how would I do that. It says I cannot delete it because it is not a thing but rather of type file?

---

<div class="post-metadata">

**Author:** ![denverdave11](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/denverdave11/32/38770_2.png) [@denverdave11](https://forum.bubble.io/u/denverdave11)\
**Post date:** [February 10, 2016, 11:05pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/14 "2016-02-10T23:05:11Z")

</div>

You can make the file type a thing. I always do this so i can add other values to the file type. Such as name, views, etc.  
Then you can easily delete it

---

<div class="post-metadata">

**Author:** ![denverdave11](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/denverdave11/32/38770_2.png) [@denverdave11](https://forum.bubble.io/u/denverdave11)\
**Post date:** [February 10, 2016, 11:07pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/15 "2016-02-10T23:07:23Z")

</div>

also, if the file type is attached to a thing, why would you want to just delete the file type and leave the rest of the thing?  
you can always create a field to change the thing. if you leave the new upload file input blank it should replace it with a blank.

---

<div class="post-metadata">

**Author:** ![Bradluffy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bradluffy/32/955_2.png) [@Bradluffy](https://forum.bubble.io/u/Bradluffy)\
**Post date:** [February 10, 2016, 11:35pm UTC](https://forum.bubble.io/t/delete-image-in-list-of-images/1069/16 "2016-02-10T23:35:52Z")

</div>

The thing has multiple files attached to it. So I wanted to be able to remove a specific file from the list of files. It might be worthwhile to make the file a thing itself as you suggested.
