GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




How to share pictures between multiple HTML reports

Click to view RSS...
Author Useful to generate reports in different languages while sharing (reusing) the same photos.
Posted Wednesday, February 15, 2006 - Post #10305
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
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).

Posted Wednesday, February 15, 2006 - Post #10308
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
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.


Edited: Wednesday, February 15, 2006 by GenoProSupport

Posted Wednesday, February 15, 2006 - Post #10310
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
This is what I did on my web site with 20 different family branches with common ancestors!

It also saved spaceTongue

Posted Wednesday, February 15, 2006 - Post #10311
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Monday, June 2, 2025
Posts: 4,886, Visits: 22,796
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.

Edited: Sunday, March 5, 2006 by GenoProSupport

Posted Wednesday, February 15, 2006 - Post #10313
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.0.1.5

Last Login: Saturday, March 14, 2020
Posts: 365, Visits: 3,680
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.

Edited: Wednesday, February 15, 2006 by iaintait



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 1 member, 0 anonymous.
Refresh