Images in Graphview

Version 5.15, Windows 10
Hello there, just started using gramps a few days ago and was immediately interested in GraphView, which I find much easier to use than pedigree.
However, something I’m not sure if is an error, limitation, or setting somewhere, is that all of the images displayed in the family tree are quite low quality. The actual images stored are of much higher quality when viewed adjacently in the gramplet gallery.

If anyone is able to help, it would be much appreciated!

Only thumbnails images are displayed. You can’t change that.

Welcome!

My initial thought was that this view is only for on-screen, not print quality, the Avatars in the GraphView add-on view mode use the thumbnails rather than the full-resolution images. They are in the “Thumb” subfolder of the Gramps User Directory. This allows much faster screen draws.

And it appear to use the “Small” subfolder path, not the somewhat larger “Normal” Thumbs. Looked in the add-on’s source and it calls for the thumbnail path from the core (gramps.gen.utils.thumbnails). Maybe there’s a way to hack the call to make that deliver the “Normal” thumb path instead of the “Small” one?

But there’s also a Print toolbar option for this view mode. (Although it is actually a ‘save’.) For the generated SVG, Inkscape on Windows did not interpret the paths to the thumbnails well. It shows broken image links instead of even the small thumbnails.

2 Likes

This has been very helpful thank you! Using the information you gave I’ve managed to do something rather silly and just replace the images in the thumbnail folder with the higher res original images, which has seemingly worked fantastically. However this approach is rather tedious for many files and I was wondering if you knew how Gramps generates the thumbails and if there might be a way for me to change how it creates them (so they are less shrunk).

1 Like

I hope you’ve been copying, not just moving the files! Thumbnails could be overwritten without warning.

Some other users report having used the Thumbnail Generator addon to rebuild their thumbnails in an overnight process.

Here’s another experiment to try without hacking Python code:

You can rename the uppermost “Thumb” folder. (So you can flush the new folder and restore the old if the experiment fails.) After running the Thumbnail Generator, reverse the names on the Small and Normal folders. See if the larger reduced images are adequate.

If it looks good, maybe someone can suggest a change to GraphView to make it use the larger thumbnail path.

found PR#245 : added an option for changing the thumbnail size from normal to large in gvfamilylines.py