# Dedicated comment for each photo

**URL:** <https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464>\
**Category:** Ask for Help\
**Created:** [January 11, 2024, 8:17am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464 "2024-01-11T08:17:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 11, 2024, 8:17am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/1 "2024-01-11T08:17:57Z")

</div>

Hi everyone,

I inserted the possibility to comment under each photo, but when a user comments on a photo, the same comment is displayed on all the other photos. Is it possible to make the comment available only for the requested photo?

Thank you

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 11, 2024, 8:20am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/2 "2024-01-11T08:20:10Z")

</div>

How are your images stored?

---

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 11, 2024, 8:38am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/3 "2024-01-11T08:38:37Z")

</div>

They are stored via the google sheet.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 11, 2024, 8:45am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/4 "2024-01-11T08:45:30Z")

</div>

So one image per row in a single column?

And where are you currently storing the comments? In the same table, or some other table? Presumably you want to allow for multiple comments per image? Are you using a comments component, or some other component to capture the comments?

Ultimately what you want to do is associate each comment with an image. The reason I am asking so many questions is that I need to understand what you currently have before I can advise the way forward.

---

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 11, 2024, 9:20am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/5 "2024-01-11T09:20:07Z")

</div>

Sure, I’ll try to provide more information:  
In the photography table I archive the photos, then view them with the collection object.  
I added the comments object under each photo and created a relationship to derive the user.  
Now when I try to comment the user is retrieved correctly, but the same comment appears on all the other photos.  
I’ll give you an example:  
I’m Simone and I comment on the photo on Jenny photo, the same comment appears on Adrian photo.

I thank

I’ll insert some images

 ![foto](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/e/bed12c9f90ed5c2f2ba3edb2a14c4ddffab620ed.png)  
 ![commexc](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/8/385aaebc9cbf5d1a810bcfdee7226b0e30d7cb13.png)

 ![Commenti](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/0/b06597a427a2872af9445c193c96b9ab2e7ed695.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 11, 2024, 9:45am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/6 "2024-01-11T09:45:51Z")

</div>

Okay, thanks.

If you are displaying the comments using a Comments Collection on the Image details screen, it should just be a matter of applying a filter to the collection. Something like “user is screen-\>user”.

---

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 11, 2024, 9:59am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/7 "2024-01-11T09:59:55Z")

</div>

The photos are shown in the collection, but when a user presses on the photo, another page opens and that’s where I insert the comment, and in the filter I don’t have the function you’re indicating.

Look at the photo thanks

 ![filtro](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/a/ea4b076d66f10876778d5665a4a0560867937a3c.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 11, 2024, 10:19am UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/8 "2024-01-11T10:19:51Z")

</div>

Okay, sounds like you are missing a column in your Comments table to hold a PhotoID.

So you should add that column. Once you do, you should see it appear in the Comments configuration in the “Save Data” section. Configure that to store the RowID of the current Photo. Once that’s done, you can use that column as the filter.

---

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 11, 2024, 2:10pm UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/9 "2024-01-11T14:10:13Z")

</div>

I tried as you indicated but I still have problems making the filter.  
I’ll send you the images  
Thank you

 ![Photo](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/1/a18e00681d68e039226017bbc21b7020667ccbf5.png)

 ![Idp](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/1/f17b891e1d1dfa7c09bc5c0a54b6dc5e8802d8de.png)

 ![ved](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/f/3f7f3c1257db7057f12467f5986ed974727ba8fc.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 11, 2024, 2:11pm UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/10 "2024-01-11T14:11:11Z")

</div>

Your filter should be “ID Photo is Screen-\>ID Photo”

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 19, 2024, 12:54pm UTC](https://community.glideapps.com/t/dedicated-comment-for-each-photo/69464/12 "2024-01-19T12:54:21Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
