Wrong thumbnails after changing image

Hello.

First: I like GRAMPS :grinning:. And I really like discourse. I knew this platform from the very first steps and it’s great!

Now, my question. Is there any way to force GRAMPS to reload a media file (image)? I noted that if I change the image on the hard disk (eg. cropping or exchanging against a better picture) GRAMPS often didn’t realize that. So I have to rename the picture and have to select the changed one.

Thank you.
Hagen from Germany

When you add an image to a Gramps record, it creates a checksum from the raw image file that is stored internally within Gramps. If you alter the file, as you note, there is a conflict with the checksum.

Any time you run the Check & Repair tool, these checksums will be updated. Tools >> Family Tree Repair >> Check and Repair Database.

There is also the Media Verify Tool. Tool >> Utilities >> Media Verify

This tool will scan all media files in your media directory and compare it to media records in Gramps. These checksum mismatches will show as missing raw files for the Gramps records and extra files in the media folders. The Fix will bring these files back together with the records.

The quickest way is to drag (using the mouse) the changed file from its location to the Gallery you wish it to appear in. This creates a new Media record. You can then delete the old media from the Gallery.
George Baynes

Has anybody used the Thumbnail Generator tool? Searching the wiki doesn’t say what it does. But it’s been there since generation 3.

Maybe it flushes & rebuilds all the Thumbnails?

I use it.

It populates all the thumbnails so that as you navigate, there is no lag time as these need to be generated. Periodically I will run the tool and it will generate the missing thumbnails. To see this lag, go to your media list with the gallery tab selected in the bottom bar then use the up or down arrow to navigate the list.

And I always run it after making major changes to my media file/folder structure. When I do this, I delete the existing thumbnails stored in the user files and then run the tool to repopulate the thumbnails.

It used to take many hours (I ran it overnight for 21K media files) after a major change. It now takes an hour to do a complete rebuild. Obviously fewer files equals less time. Doing it as an ongoing maintenance is much faster as it only does the missing thumbnails.

This will generate the new thumbnails for cropped of better saved images as Hagen experiences but does not solve the checksum issue.


And no, it does not flush the thumbnails before a rebuild.

https://gramps-project.org/bugs/view.php?id=9902

1 Like

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