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

GenoPro Support Forum




English Narrative Report (2013-02-17) has non effective parameters and...

Click to view RSS...
Author
Posted Sunday, March 10, 2013 - Post #31451
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.0.0.4

Last Login: Monday, August 28, 2023
Posts: 26, Visits: 135
This refer to the most recent English Narrative Report (ENR 2013-02-17)

1 - In the original ENR, it looked like pictures could be placed in a specific folder as specified in the parameter options panel. The “Browse” button did not work but a folder number could still be given. The natural place was of course a sub-folder of the the output folder. This however should have been a warning that things were not quite right.

2 - If the folder where to put the pictures was not indicated, the pictures were put into a sub-folder of the ouput file with the name “pictures”. The pictures in this folder were copied from the original ones and renamed; they did not bear any more their original names. In contrast the thumbnails if generated in the “thumbnails” folder were still bearing the names of the original pictures. In the “Sources and citations”, a reference to a picture pointed to the page that would display the picture: the page was effectively in the output folder and it displayed the right picture but the hyperlink was missing between the reference and the WEB page for the picture.

3 - When a picture folder was given (see later if the name was “Pictures”), the name of the folder was totally ignored and a “Pictures” sub-folder was created. This time it contained the copies of the original pictures, without any renaming. But, as above, as regards “Sources and citations”, hyperlinks are missing in the case of pictures.

4 - When a picture folder was given and the name was “Pictures” a “pictures” sub-folder was created. This time it contained the copies of the original pictures, with renaming. But, still no hyperlink for references to “Sources and citations” in the case of pictures.

Turning now to the latest English Narrative Report (ENR 2013-02-17),  problems of same kind remain with however some differences:

The “Browse” button still does not work for giving picture folder. It is not acted upon anyway. Get rid of it?
If no picture folder is indicated or if a picture folder is indicated, whether his name is or not “Pictures”, a “media” sub-folder is created, pictures are copied to the folder and renamed as above and still no hyperlinks although the pages do exist in the generated output.

I believe that the approach in the new skin is the right one – as regards the uniqueness of the “media” sub-folder Therefore why not suppress completely the parameter dealing with the picture folder name?

But the wrong one as regards the renaming of the pictures – although I admit that this ensures that no two pictures will have the same name in the “media”sub-folder (but I am pretty sure this could be achieved in another way).

But most crucial is the missing hyperlink (reverse link) between the reference and the picture. Why not when references to an individual, a family, a marriage, an occupation, a place, or education have proper hyperlinks?


Tags:
Posted Tuesday, March 12, 2013 - Post #31460
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:33 AM
Posts: 3,339, Visits: 25,600
I agree with you that the field under the Options tab of the Generate Report dialog 'Folder where pictures should be stored in the destination report' and the associated 'Browse' button appears to be redundant and should be removed.

Hopefully the author of GenoPro will consider this for the next update of GenoPro (if/when this happens!).  

I believe that the renaming of the pictures is to ensure they are valid URI components by removing brackets and spaces etc. and also to ensure unique names.  At no time as far as I am aware were they copied unchanged unless name was already an acceptable URI component.

As the principle author of the Narrative Report I would like to understand what you mean when you say that there is no reverse link from the reference to picture for a Source/Citation entry, as in my tests I cannot find a missing hyperlink.  Do you have a sample web report that illustrates this? If not please illustrate with an annotated screen shot if possible.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, March 14, 2013 - Post #31461
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.0.0.4

Last Login: Monday, August 28, 2023
Posts: 26, Visits: 135
My comments above about “reverse hyperlinks” were not too clear.

As you suggested, I have set up a genopro test file with a few pictures and I attach the lot in Zipped form to this post.

I generated the files with latest un-modified narrative 2013-02-17 – OliveBranch skin. I believe it is not worth sending the output as it can be easily reproduced locally.

In the “Photo Gallery” part of the report a picture can be attached to an “Individual”, a “Family” a “Place”, an “Education Records” or a “Source/Citation”.

As regards the Individuals part of the photo gallery, a picture is always attached to an Individual and is referenced by its external (original) name with a hyperlink to the full size picture. See for instance “David Arnold” where 3 pictures are included into the slide show, each with its external name; if you now click on the source reference of one of the pictures a sub frame opens where the pictures associated with that source are indicated. They are indicated under their internal (modified) name and there is no more hyperlink to the pictures.

The same occurs for the Family part of the gallery.

For instance, for David Arnold and also for the John Arnold & Vivien Robin Family, “Photo Anonymous” has five references: picture-pic00196.htm, picture-pic00197.htm, picture-pic00183.htm, picture-pic00223.htm, picture-pic00226.htm but none of them has an hyperlink attached to it that would enable to access the picture from there.

In the case of an Education Records, the picture is associated to the Institution through one Individual having studied there. Two Individual studying at the same college can have two different pictures, which is quite normal.

In the case of Places there can be direct references to Individuals, Families [Unions], Occupations, or Pictures. In all cases except Pictures there is an hyperlink associated with the object. In the case of a reference to a picture there is no hyperlink and the object is (obviously!) a picture with a modified name.

I accept that there is a need for picture names to be accepted as hyperlink names and that the process of systematically renaming pictures is the most straightforward and also ensures uniqueness of names. I can see that there is no need to change the thumbnails names as they are never referenced through hyperlinks.

However I believe that an equivalence table between the the internal and external names of pictures is maintained during the report generation. It must be therefore possible to use the external name of a picture at any time it is output in the report and to associate systematically an hyperlink to display the internally named picture.





TestPicturesRefs.zip (143 views, 875.58 KB)
Posted Thursday, March 14, 2013 - Post #31462
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:33 AM
Posts: 3,339, Visits: 25,600
Thank you for the sample .gno, that made the issue crystal clear.  A picture can save a thousand words, but a test file is even better.

The problem was easily fixed with a couple of lines of code in Code\Lang.vbs.  A revised version is attached that you can drop into your Narrative Report skin Code folder.  I'll post a full revised skin soon.

There is probably some misunderstanding between us over picture naming.  As you know, when adding a picture reference to a .gno, you can give it a name in the Name field but it defaults to the file name without the suffix (e.g. .jpg).  Internally GenoPro gives all objects an ID and pictures have IDs of the form pic00000.  In the Narrative Report a web page is generated for each picture giving full details and includes a large thumbnail (default 250x250 pixels max), these pages have names of the form picture-pic00000.htm and the references hyperlinks point to these pages rather than the picture itself.

The pictures themselves are copied to the media folder and named as per the Name field but changed to make a valid unique URI component (removes spaces, brackets etc)

To display a picture full size in the report you should double click a thumbnail image.  The picture itself is then displayed in its own browser window.  


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Lang.vbs (131 views, 99.87 KB)
Posted Thursday, March 14, 2013 - Post #31463
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.0.0.4

Last Login: Monday, August 28, 2023
Posts: 26, Visits: 135
Great. It now makes complete sense (... probably not on the test file I sent you...). Many thanks for the speedy solution.
Posted Sunday, March 17, 2013 - Post #31475
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.0.0.4

Last Login: Monday, August 28, 2023
Posts: 26, Visits: 135
The solution is not yet complete: some internal picture names apper instead of external ones .... and still a few more hyperlinks are missing.

When from the home page one ask for an “Overview Map of all geocoded places” all such places (and more as Genopro+Google Earth do a good job in trying to locate even non geocoded palces on the map with sometimes hilarious results) are pointed on the map and for each place clicked a balloon pops up with indication of items that have referenced that particular place.

If the reference is from a picture the internal picture name is given rather than the external name.

I must add that no hyperlink is associated with any of the references, whether it is an individual, a family, a picture, ….. It would be nice to have hyperlinks....

Also if from one place (from the index of Places) that is geolocated one can ask to display the map. In that case there is only a rollover and no pop up balloon. This is understandable as the pointed to place is still displayed on the page, but it would be nice to have the same popped up balloon as on the overview map (may be?)

Thanks for a great piece of software.

Philippe
Posted Friday, March 22, 2013 - Post #31508
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.0.0.4

Last Login: Monday, August 28, 2023
Posts: 26, Visits: 135
I was again not too clear in my previous post.

I have added a few lines of code to the script gmap_places.js

This gives now the "Picture name" rather than the internal picture file name on a balloon pop-up of a "place" geoloacted on the Google

map and there is reference to that place from a picture.

As a picture can be without a (descriptive) picture name, the code covers the case of such a picture with displaying a warning.

I attach the modified js script for reference

Philippe


gmap_places.js (130 views, 5.62 KB)
Posted Friday, March 22, 2013 - Post #31509
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 6:33 AM
Posts: 3,339, Visits: 25,600
Thanks Philippe, your post was clear enough, but I had not got around to looking into this yet.  I will add your mod to the next revision and see if I can add hyperlinks too.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse