GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
How to share pictures between multiple HTML reports


https://support.genopro.com/Topic10305.aspx
Print Topic | Close Window

By GenoProSupport - Wednesday, February 15, 2006
This is my answer to a question in topic Publishing genealogy tree on the web.  Here is the scenario:
  • The user generates a HTML report in English and publishes it in the root directory (/).
  • The user wishes to generate additonal HTML reports of the same family tree, but in other languages as in Japanese and German.

Question: How to configure GenoPro so the Japanese and German reports do use the same pictures as the English report?  In other words, how to configure the report generator so the pictures are not copied 3 times (one for each report).

By GenoProSupport - Wednesday, February 15, 2006
You can share pictures between reports by configuring the file Config.xml.  In the file Config.xml, change the parameter _PathPictures to the URL where the pictures are located.

Here is the step-by-step instructions.  I will use the the username maru-san as an example:

  1. For your root report, leave the _PathPictures to "pictures/".  This way, GenoPro will copy the pictures to the "pictures" subdirectory of the root report.  As a result, your pictures will be uploaded to http://familytrees.genopro.com/maru-san/pictures/.

  2. Next, modify the file Config.xml for your Japanese report to the following:
    <Parameters _PathPictures="http://familytrees.genopro.com/maru-san/pictures/" />
    This way, the report generator will link to the pictures in http://familytrees.genopro.com/maru-san/pictures/ rather than copy the pictures to the Japanese folder.  Do the same  the same for the German report.

As a result, you can have 3 reports, all sharing the same pictures.

English Report (root): http://familytrees.genopro.com/maru-san/
Japanese Report : http://familytrees.genopro.com/maru-san/japanese/
German Report: http://familytrees.genopro.com/maru-san/german/

Note: If you wish to generate multiple reports using the same skin (language), then you have to change the _PathPictures each time you generate a report in a different language.  Eventually GenoPro will have a solution for this, but we need to remain focus and finish v2.0 first.

By IainTait - Wednesday, February 15, 2006
This is what I did on my web site with 20 different family branches with common ancestors!

It also saved spaceTongue

By GenoProSupport - Wednesday, February 15, 2006
iaintait
This is what I did on my web site with 20 different family branches with common ancestors!

What about using one report and 20 different GenoMaps?  This way, all your ancestors would be in a single file and you would not have duplicate data.

By IainTait - Wednesday, February 15, 2006
The main tree does not include the living and is accessible to all, but the other trees include the living and are only accessible with passwords,  different ones for each family.

So they have to be separate with separate entry pages to respect the privacy of each family.

The photo links in all the trees point to the same folder as they do in my tree on this site.

By the way, my next update on your site will be the full "no living" tree with each family on a different genomap, but I am not yet ready as I am awaiting some more info and photos from around the world, and also the possibility of uploading just a few corrected pages for the few living as I mentioned elsewhere.