Check in /usr/share/gramps/plugins/webreport/

Look for "class MediaPage", in the function:
††† def† __init__(self, report, title, handle, src_list, my_media_list, info)

You'll find a big comment block that looks like this:

††††††††††††††††††††††††††† # Check how big the image is relative to the requested 'initial'
††††††††††††††††††††††††††† # image size. If it's significantly bigger, scale it down to
††††††††††††††††††††††††††† # improve the site's responsiveness. We don't want the user to
††††††††††††††††††††††††††† # have to await a large download unnecessarily. Either way, set
††††††††††††††††††††††††††† # the display image size as requested.

...after which is the code that resizes the images.† But re-reading your question, I'm not sure I understand if this is the code you want to mess with.


2012/1/26 MichaŽl Van Dorpe <>
Sorry for the cross posting, but maybe I should have sent this to
gramps-devel instead of gramps-users. Thanks

-------- Original Message --------
Subject: † † † †Picture size in narrative website
Date: † Fri, 20 Jan 2012 12:16:24 +0100
From: † MichaŽl Van Dorpe <>
To: † †

Dear all
I don't think there is a setting to modify the size of the pictures on
the person pages of narrative website reports?
(I know that there is a setting to modify the size of the main picture
on the home page of narrative websites, but that is not what I am
referring to here.)
Can someone point me to the relevant source code files and lines that I
should modify to increase the size of these pictures?
Can I increase the size of the main picture on top of each person site,
without affecting the size of the thumbnails of the other pictures in
that person's photo gallery lower down the page?

Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
Gramps-devel mailing list