I am in the process of migrating to Ubuntu Linux after importing my GEDCOM file. Everything seems to be working correctly, except for an image display issue.
After opening an individual, when I go to their gallery, the names of the different photos related to them appear correctly, but instead of the images, I see a red cross.
GEDCOM 5.5.1 does not include media. So you will not have copies of those files locally. The thumbnails of the Media files are what is shown in the Gramps GUI. These are generated from local files.
If the GEDCOM used URLs for the Media paths, there is an addon to fetch local copies of the media files.
Also, even if you did copy the media manually, moving to a different machine or OS tend to mean the path will have changed and need to be revalidated.
There is an addon Tool for revalidating paths for moved Media files.
Hello,
The red cross indicates that the path to your image no longer matches (this is quite common during a migration).
Check the Media view for the various paths. Sometimes it’s not much—just a directory name or the root of a path that needs correction. Could you provide an example of a path that needs fixing and where it should point after the migration?
Finally, a dedicated tool is available from the Tools menu → Utilities → Manage Media… which allows you to apply batch (grouped) changes if you need to perform the same correction/modification multiple times.
Thank you for your responses.
My path to access the media is as follows:
home/G-C/Documents/Généalogie/COT-BRO_export-Medias/
This link is correct, since for a given individual, I have all the photo names related to them, so the software connects properly to the media folder.
In my version 6.0.6:
Python: 3.12.3
sqlite: 3.45.1
orjson: 3.11.4
LANG: fr_FR.UTF-8
System: Linux
Distribution: 6.14.0-37-generic
And in all settings, I don’t have anything related to plugins.
I started from the French application Hérédis and generated a Gedcom file, which I uploaded into my previously created tree.
When I click the red cross, a preview window appears with a small white circle crossed out inside a red square, and the image does not display.
Apparently, the image files are not being uploaded? (see attached file) Therefore, I don’t see the point of this software, and since genealogy is essential for me on my OS, I believe my Linux adventure will end quickly.
Moreover, the standard numbering system in genealogy is the Soza number, which is completely absent in Gramps, replaced entirely by Gramps’ own numbering system.
This not a limitation originating in Gramps. For the last 25 years, the GEDCOM 5.5.1 standard has not supported the inclusion of Media files. You had to move those files manually.
It was not until the new GEDCOM7 that a ZIP archive of media files… something the Gramps .gpkg backup (and data exchange) format has offered since 2001. But GEDCOM7 is not widely adopted yet.
There are ways to move data. But nothing is seamless… it requires some work, regardless which software is used. (No doubt that if you visited a Hérédis support board, you would discover grumbles about moving Media when users are trying to import data from another software into Hérédis.)
There are a variety of numbering systems in genealogy, not one single standard. And Gramps has support for different choices in different Reports. They all revolve around a target/focal person (a progenitor for descendant numbering systems or a proband for ancestor numbering systems.) Which numbering system is offered depended on what the Report was needed by the volunteer contributor. Then they shared their work. Some added more numbering systems to satisfy community requests.
Gramps allows this center of the numbering system for relationship calculations to be re-defined (at any time) with the “Home Person”. So an independent ID is normal in GEDCOM and most Genealogical software. Besides that, many of the Gramps Reports use the Active Person as the focal person.
Does the folder /home/G-C/Documents/Généalogie/COT-BRO_export-Medias/ actually exist on the computer? (It might have been a typo, but under Linux the path must start with /).
The gedcom file listed these files, but didn’t include them. Gramps just lists them in the same way, but can’t find them. That’s why there’s a red cross. Or maybe they’re all PDFs or another format that Gramps can’t handle (for the others, is there a plugin for PDFs?).
In the gallery, if you right-click and choose “Open with default application,” does it work?
If it doesn’t work, you could also try Ancestris, which is available on Linux—maybe you’ll prefer it? It has fewer features, but the interface is more user-friendly and uses SOSA numbering by default (as you mentioned). Otherwise, Gramps runs on Windows. You could stay on Windows for a while to get used to the new software, then start migrating to Linux?
Or you could import the GEDCOM in Gramps for Windows. (Verify it finds the Media there.) Then make a backupwith Media in the Gramps format. And import that .gpkg archive on the Linux box.
The Media will be included in the transfer that way. You’ll still need to use the Media Verification tool to make Gramps resolve the path standard differences between the OSes. (Things like the base path having a home instead of a c: drive.)
When I display each one, I get two lines—for example:
Abraham O0034 image.jpeg
Abraham.jpg O145333 image/jpeg with the path ../../../../../COT-BRO_export-Médias/Abraham.jpg
I assume the “../” corresponds to the folder’s position within the Ubuntu directory structure?
I have a few PDFs, but not on my Soza 1, which I use for testing. Nor on others, for that matter.
In an individual’s gallery, I have all photo references for that individual.
Right-clicking on the cross, I don’t have any options.
Regarding Ancestris, I tried it under Windows, but it was day and night compared to Hérédis. I chose Gramps because it’s the closest to Hérédis, which, for me, is the Rolls-Royce of genealogy software.
Since the export doesn’t include the media files themselves, but only references, Gramps knows you have images, but it can’t find them in the specified directory.
What I understand is that Gramps has a relative path: ../../../../../COT-BRO_export-Médias/Abraham.jpg, but it probably doesn’t know relative to what directory this path is based.
You can try going to the preferences (Edit → Preferences…), then Base path for relative media paths (above “Third-party plug-in management”) and specify the relative path for the media: /home/G-C/Documents/Généalogie/COT-BRO_export-Medias/ (you need to click the button on the right of the text field to select the folder).
You validate everything and reopen. You should finally see this image. If it works, you’ll need to repeat this for all photos, which is where the batch processing tool will be useful.
If it doesn’t work,
you reopen the media editing window, and for the path, you click the button on the right to locate the file directly, selecting “Convert to relative path”. That should work.
I don’t have a “Base path for relative paths,” but I do have “Database path,” “Backup path,” and “Relative path to media”—that’s all. And in this field, I have the path selected via right-click navigation.
Regarding “Shared information,” I see a dropdown list matching the names of my photos in the media folder specified by the media path.
But just now, I noticed that I have two photos: if I click on the one with a .jpg (or other) extension, I see a cross; whereas clicking on the one without an extension displays the photo. Apparently, the one without an extension is generated by Gramps and added to the gallery, which already contains photos with extensions. However, since Gramps references the photo with the extension, it displays nothing, and since the other (without extension) doesn’t exist in my media folder, I’m stuck. I can’t delete the photos with extensions, as that would effectively empty my media folder. Do you have any suggestions?
I don’t quite understand here. Could you show us a screenshot of the media that works and the media that doesn’t work? And of the general configuration?
I will send two messages because the one from this morning did not go through (one attachment too many).
Attached is a screenshot taken at 08:44:26 showing photos related to a person (Loanne) from my media file sourced from Hérédis. There is only one photo per name.
And another screenshot at 08:51:20 from the gallery file of the same person. Here, there are two photos for the same name: one without the extension concatenated to the name, and the other with the extension concatenated to the end of the name.
The problem is that Gramps searches for the photo name with the extension concatenated in my Hérédis media file, but this name does not exist.
And what about the media that is not working? And the general configuration?
I will send two messages because the one from this morning did not go through (one attachment too many).
Attached is a screenshot taken at 08:44:26 showing photos related to a person (Loanne) from my media file originating from Hérédis. There is only one photo per name.
And another screenshot at 08:51:20 from the gallery file of this same person. Here, there are two photos for the same name: one without the extension concatenated to the name, and the other with the extension concatenated to the end of the name.
The problem is that Gramps searches for the photo name with the concatenated extension in my Hérédis media file, but this name does not exist.