# Question about the arrangement of images in the gallery

**URL:** <https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892>\
**Category:** Help\
**Created:** [August 17, 2024, 12:07pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892 "2024-08-17T12:07:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 17, 2024, 12:07pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/1 "2024-08-17T12:07:11Z")

</div>

Hi all

There is a gallery for every person in the database. That´s clear.  
But there is also a gallery for every event. Should I, for example, add the death certificate to this gallery for the event of death? But then it will not be displayed in the people gallery. So it is somewhat hidden.  
How should I proceed? Put all the images in the people gallery or sort them into the gallery for the event there?  
Win11/Gramps 5.2.3

Woody

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 17, 2024, 2:59pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/2 "2024-08-17T14:59:39Z")

</div>

I only add items to the gallery relevant to the image. Photo of a person to the person’s gallery, a birth certificate to the citation’s gallery, etc.

That being said, my most used output report for a cousin, etc is the [NarrWeb](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Reports_-_part_7#Narrated_Web_Site) which will display an image wherever found on its appropriate page. Not every report does this. Images attached to a citation will often not be included in most reports.

You need to evaluate which (if any) reports you use, which images display in that report, and act accordingly.

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 17, 2024, 3:11pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/3 "2024-08-17T15:11:08Z")

</div>

OK, THX. I do it like you.  
I put the Foto into the Gallery of the event.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [August 17, 2024, 3:22pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/4 "2024-08-17T15:22:55Z")

</div>

> [@DaveSch](#):
>
> I only add items to the gallery relevant to the image. Photo of a person to the person’s gallery, a birth certificate to the citation’s gallery, etc.

@Nick-Hall has suggested elsewhere that he will build an efficient Gramplet that drills down all the secondary objects (and tertiary, and so on) to show a list of all the Citations buried in the branch hierarchy attached to a primary object.

With that example, a Gallery that does the same with Media object should be adaptable. (And for Sources, Repositories, Places, Notes, Events, or People. Families might be more complex.)

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 17, 2024, 4:58pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/5 "2024-08-17T16:58:03Z")

</div>

There is the [Deep Gallery](https://gramps.discourse.group/t/new-gramplet-to-show-all-images-for-a-person/1799) gramplet by @ukulelehans . It finds all gallery items for the person. The item in the gallery of the citation, attached to a person’s event.

Until just now, realized it was never added into the Gramps addon lists.

> **[GitHub - hgboldt/deepgallery: Gramps gramplet to show all media objects for the...](https://github.com/hgboldt/deepgallery)**
>
> Gramps gramplet to show all media objects for the active person, including media objects for all nested events, families, and citations.

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 9:10am UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/6 "2024-08-18T09:10:06Z")

</div>

OK, i install it manuel like shown here.

[https://gramps-project.org/wiki/index.php/5.1\_Addons#Manually\_installed\_Addons](https://gramps-project.org/wiki/index.php/5.1_Addons#Manually_installed_Addons)

But Gramps didn´t display it…

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [August 18, 2024, 9:32am UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/7 "2024-08-18T09:32:17Z")

</div>

> [@Woody](#):
>
> But Gramps didn´t display it…

That’s because it is registered as a 5.1 version gramplet and you are using the 5.2.3 version of Gramps.

It is not a guarantee that changing the `gramps_target_version=` in the Gramps Plugin Registration (`.gpr.py`) file will make a plug-in work. (Each version of Gramps has to adapt to changes in the current version of Python, Gtk and other support libraries.) But tweaking the value is worth trying.

> <https://github.com/hgboldt/deepgallery/blob/main/deepgallery.gpr.py#L7>

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 9:34am UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/8 "2024-08-18T09:34:31Z")

</div>

Ok, than i delet it … grrrrrrrrrr

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [August 18, 2024, 9:49am UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/9 "2024-08-18T09:49:35Z")

</div>

Try tweaking line 7 in the `deepgallery.gpr.py` file first.

It is a simple text file and you only need to change 1 character. If the tweak does not work, this will not break your tree. (That safety margin is because **Deep Gallery** only displays data. If the gramplet edited the tree, I’d be more careful.)

`gramps_target_version="5.``2``"`

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 10:23am UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/10 "2024-08-18T10:23:58Z")

</div>

Nope, it doesn’t work. That would be too easy 🙃

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 18, 2024, 12:02pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/11 "2024-08-18T12:02:32Z")

</div>

After reinstalling the` gpr.py` file and changing version 5.1 to 5.2…

…did you restart Gramps?

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 12:29pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/12 "2024-08-18T12:29:10Z")

</div>

Yes, i did. But that no works.  
In the Gramplet List it doesn’t appear where you can check all Gramplets for updates.

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 12:32pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/13 "2024-08-18T12:32:58Z")

</div>

You are all so kind and patient. That has to be said.  
Thank you, I love you all. 🥰 😆

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 18, 2024, 1:55pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/14 "2024-08-18T13:55:20Z")

</div>

> [@Woody](#):
>
> it doesn’t appear where you can check all Gramplets for updates

It would not appear in this list. This list is limited to addons found in the Gramps repositories.

Check the Gramps [Plugin Manager](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Plugin_Manager) (menu \>\> Help \>\> Plugin Manager). Or if you have installed the enhanced addon version of the [Plugin Manger](https://gramps-project.org/wiki/index.php/Addon:Plugin_Manager).

This may tell you if it at least seeing the addon.

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 2:25pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/15 "2024-08-18T14:25:37Z")

</div>

> [@DaveSch](#):
>
> Überprüfen Sie den Gramps [Plugin Manager](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Plugin_Manager) (Menü \>\> Hilfe \>\> Plugin Manager). Oder wenn Sie die erweiterte Add-on-Version des [Plugin Managers](https://gramps-project.org/wiki/index.php/Addon:Plugin_Manager) installiert haben .

It´s in this List, but there is not working.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 18, 2024, 2:34pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/16 "2024-08-18T14:34:58Z")

</div>

> [@Woody](#):
>
> It´s in this List, but there is not working

What does the Info Box say?

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 2:42pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/17 "2024-08-18T14:42:56Z")

</div>

It is installed

 ![grafik](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/b/b409b30ee01b7c36b08c22504d02e7eafc84abf3.png)

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [August 18, 2024, 3:16pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/18 "2024-08-18T15:16:43Z")

</div>

I have it installed in 5.2.3 and it works.

The plugin manager still thinks it is for Gramps 5.1 and not 5.2

Edit `deepgallery.gpr.py` in the plugin folder. Make sure these lines say 5.2

```
     gramps_target_version="5.2",

     help_url="5.2_Addons#Addon_List",

```

And another crazy thought…

…is the deepgallery-main folder the compressed zip folder ?? It should be the folder taken out of the compressed folder.

Then relaunch Gramps.

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 3:27pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/19 "2024-08-18T15:27:26Z")

</div>

> [@DaveSch](#):
>
> And another crazy thought…

I love crazy thought 🤪

But it´s the extracted folder containing all the Python files.  
I will test it…

---

<div class="post-metadata">

**Author:** ![Woody](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/woody/32/3406_2.png) [@Woody](https://gramps.discourse.group/u/Woody)\
**Post date:** [August 18, 2024, 4:16pm UTC](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892/20 "2024-08-18T16:16:46Z")

</div>

I have cange the two lines in the script.

 ![grafik](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/8/8f4c9dab24387e2bdbaa859b23b439a94125c21f.png)

and here are displayed the plugin

 ![grafik](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/3/33747cfe5adc4b69b57880cccf4b1ded53523e95.png)

but it don´t run on my installation.

[Next page](https://gramps.discourse.group/t/question-about-the-arrangement-of-images-in-the-gallery/5892.md?page=2)
