* Reports and Hyperlinks

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
brumleybrae
Gold
Posts: 10
Joined: 29 Apr 2018 06:37
Family Historian: V6.2
Location: Elgin, Moray

Reports and Hyperlinks

Post by brumleybrae »

I've been using FH for about 3 years and have a large family archive of various materials now. I am continually frustrated in NOT being competent to edit the Report outputs to achieve a presentable report.
I want to produce 4 seperate CDs, one for each grandparents line. I can get these using the report builder, and have gone about changing the fact-type paramenters to suit (more or less) my style in the generated reports.
Currently the source records are numbered in the narratives in superscript. Clicking on a number takes you to a photo of the record, clicking on this opens the record for viewing.
I am at sea with how these hyperlinks work and how to adjust the code as I want to go straight from the superscript to the full sized record (looking at a postage stamp sized photo is utterly pointless). Ideally I would also like to remove the superscripts and put the hyperlink onto the fact it relates to. For instance 'Joe Bloggs was Baptised on 1st Jan 1880' this would take you to a new full sized window of the baptism.

I know that this is a piece of cake for those who know the language....please let me know what it is and how to learn it!
Then perhaps I will be able to write my own report from the data stored in FH, or at least alter the ones FH generates....won't I?
User avatar
tatewise
Megastar
Posts: 28341
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Reports and Hyperlinks

Post by tatewise »

I am struggling to understand exactly what FH features you are using.
It is extremely helpful if you can state the actual commands you are invoking.

I think you are using Publish > Make a Family Tree CD/DVD, going through the 8 wizard steps, and viewing the resulting pages in your browser. Please correct me if I am wrong.

It is not possible to change the superscript hyperlinks to the numbered entries in the Sources section.
The whole fact cannot be a hyperlink as you requested, as that would not work when there is more than one Citation.
i.e. When there two or more superscript hyperlinks how could they be rolled into one fact hyperlink?

However, it is possible to make the Source document Media images larger.
At the wizard Step 3 - Choose Report Template click the Options button and open the Sources tab.
There increase the Max. Picture Height & Width and maybe tick Enlarge Small Pictures to Max. Width.

Additionally, some users include the Text From Source transcript from the Source record that avoids the need to open the Media image to read it. That can be done similarly to above, by ticking the Text from Source option near the middle.

See how_to:make_family_tree|> Make a Family Tree CD/DVD or Website that has much advice.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
brumleybrae
Gold
Posts: 10
Joined: 29 Apr 2018 06:37
Family Historian: V6.2
Location: Elgin, Moray

Re: Reports and Hyperlinks

Post by brumleybrae »

Apologies for not providing clear information, however you are correct: I am using the Family Tree CD/DVD feature.

Thank you for pointing out the (now rather obvious) fact that the whole fact cannot be hyperlinked.

I have read through the Knowledge base which I did, indeed, find very useful, and am aware of the Step 3 alterations to increase picture height. If I recall this increases every picture to the same dimensions, which isn't what I want.
It is also just a picture, when access to the file original (at its full mb size) allows zooming to a preferred view of the source item.
Perhaps I'm a pedant, but if I could open a new window directly from the super-scripted numerals which shows my sources at full mb size without having to click on the photo, then have to use 'return' to go back to the fact (because closing the window closes the project) I would be happier.....

Perhaps I should produce an rtf or word doc then use the 'Make a Family Tree CD/DVD' as the template. All the sources are there, and the report is already written. I would just need to go about linking the superscript to the sources myself....or is this doing a marathon when a 100m walk would have done?
User avatar
tatewise
Megastar
Posts: 28341
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Reports and Hyperlinks

Post by tatewise »

It is not very clear from your description, what you actually want to happen, and what is currently going wrong.

The Step 3 Options are the same as those for Reports in general, elsewhere within FH.
The Sources tab Max. Picture Height & Width only affects Media images in the Sources section at the end of the Report.
I thought that was what you wanted, i.e. large Media images that did not need to be clicked to enlarge them?
It does not affect the size of Media photos in the upper part of the Report. They are governed by the Pictures tab.

The superscript hyperlink displays all the Source details you have chosen to include and not just the Media image.
So that can include the Title, Text From Source, Citation Entry Date & Assessment, etc.
If clicking the superscript hyperlink only displayed the Media image, how would those other details be displayed?

What do you mean by "access to the file original (at its full mb size) allows zooming to a preferred view of the source item"?
What is the file original? What is the zooming mechanism? What is the preferred view of the source item?
Sorry, but I don't understand what features you are describing. Can you provide the commands you use to do that?

What do you mean by having "to use 'return' to go back to the fact (because closing the window closes the project)"?
After clicking the Media image a large popup window of the image appears with CLOSE X bottom right.
Click on CLOSE X, or anywhere outside the popup window, and that window closes.
Then using the browser Go Back button top left restores the display of the original fact.
Yes, if you click the browser X Close option the whole display closes.

You can retain focus on the fact by right-clicking the superscript hyperlink and choosing Open Link in New Tab/Window.
Then the Sources details open separately and can be viewed or closed independently of the original fact page.
That mode of opening hyperlinks in new tab/window can be set by the Improve Website or CD DVD HTML Plugin so that a left-click defaults to opening a separate tab/window.

If you know how to make global edits to the HTML script produced by FH then you can do whatever you wish.
Otherwise, you have to work with the features provided.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
brumleybrae
Gold
Posts: 10
Joined: 29 Apr 2018 06:37
Family Historian: V6.2
Location: Elgin, Moray

Re: Reports and Hyperlinks

Post by brumleybrae »

I think I need to go back and do it all again from scratch and see if I can get a different result.

However here is an example of the detail of what I'm about (I hope):

There may be 3 or 4 superscripts for a fact. Each one takes you to a small photo at the back of the project (or wherever you've decided to put it) Described as img src="img55-a1-718x315.jpg" alt="picture"> , which tends to be about 12kb.

This then needs to be 'clicked ' to access what I have called the ' File Original '. <img style="-webkit-user-select: none;margin: auto;cursor: zoom-in;" src="file:///C:/Users/John_2/Downloads/New%20foldeDCML/data/img55_full.jpg" width="1365" height="597"> This is an image of the full size of that file in my FH project, so could be 4MB or whatever.

It is the image detail that I want to see. Transcriptions are fine, but I want the user to be able to see for themselves and make their own judgement on what I have recorded, or be able to look at the detail of an object.

Perhaps I have completely misunderstood what is generated and how to do it....hence why I'm going to go back to basics.

Thank you for your patience and trying to get to grips with my incomprehensible demands! It's just frustrating when I have collated all these documents, videos and photos and can't seem to get them into a report format I want...so a bit more self-teaching and hopefully I'll get there.
User avatar
tatewise
Megastar
Posts: 28341
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Reports and Hyperlinks

Post by tatewise »

As usual, more information would be helpful. What HTML files are you inspecting to find those fragments of italic script?

I guess your first fragment comes from an ind##.html or fam##.html page file where ## is the Record Id.
The full anchor script should look something like the following:
˂a href="img55_full.jpg" rel="lytebox" title="Source Document">
˂img src="img55-a1-718x315.jpg.jpg" alt="picture" />
˂/a>

Clicking on the image should invoke lytebox to produce a popup window of the enlarged image.
(The Improve Website or CD DVD HTML Plugin offers alternative popup styles that support zooming, etc.)

Where did you find your second fragment of script? I don't recognise that img style in anything that FH produces.

I am uncomfortable with your strategy of showing just the document image without the transcription or any other source details and notes that go with it.
How can somebody else make a judgement from the image alone, especially if it is not very legible or has dubious data?
In order to make that judgement, it is often necessary to see a transcript or some explanation of why the source document is relevant to the facts it supports. You have been through that analysis process and possibly made rational assumptions about how the document corroborates the fact citations. It is unreasonable to force others to have to repeat that analysis from scratch, without any clues as to what factors are important.
For example, a Census page shows many households, so the user first has to identify which household is applicable to the fact citation. Those pages are usually handwritten and difficult to read. The people often use nicknames instead of their birth names. Their occupations are often unique to the era of that census and unfamiliar to us now. So you are expecting whoever is inspecting your family tree to cope with all that without any clues!
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
brumleybrae
Gold
Posts: 10
Joined: 29 Apr 2018 06:37
Family Historian: V6.2
Location: Elgin, Moray

Re: Reports and Hyperlinks

Post by brumleybrae »

Taking your last paragraph first: your comment is fair, and you are probably right that I should add transcribed detail and any notes to the proposed report.

As I have absolutely no HTML at all I can only send what I think is the script that is correct. I do this by right clicking 'Inspect' and this highlights 'something' in the right window, which I have then sent in an attempt to answer your previous questions. So I can't tell you what .html page it comes from as I don't really understand the question.
What I can tell you is the the first script is the 'inspected' code derived when you right click the small image which is at the other end of a superscript hyperlink.
The second script is derived when you right click and inspect the large (lightbox?) image and describes the location of that image.
I put these both in to illustrate that there are 2 images stored in the data file for the report, and it is these 2 images that my original question concerned, as I simply wanted to by-pass the first (small) image. I think you've persuaded me that this is not a good idea.

You have given me some useful advise on report writing in general and I appear to have just exasperated you, for which I apologise!
Perhaps I should do a couple of hours one-to-one tuition with RJT to get my head straightened on report writing, although a large sherry may be required (by her) after.
User avatar
tatewise
Megastar
Posts: 28341
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Reports and Hyperlinks

Post by tatewise »

I am not exasperated, but in order to help you, I do need to know how you are obtaining the details you are posting.
Clearly, I have mistakenly assumed that you understood the scripts you were posting.

Now you have explained you are using right-click Inspect it makes more sense but is still a little mysterious.

The first question is how did you get the display that includes the superscript hyperlinks and source images?
I guess you used Publish > Make a Family Tree CD/DVD wizard and on clicking Finish viewed the results in your browser.
The address bar atop of the browser window identifies the HTML file being viewed and ends with /ind99.html or similar.
If this guess is wrong, then please explain how you get the display that you are Inspecting.

When you Inspect an element you are looking at the HTML script.
I think when you Inspect a superscript hyperlink its script will be like this:
˂sup>
˂a href="#Src1-2">2</a>
˂/sup>


I think what you posted is the result of an Inspect of a small Source image (like I posted earlier):
˂a href="img55_full.jpg" rel="lytebox" title="Source Document">
˂img src="img55-a1-718x315.jpg.jpg" alt="picture" />
˂/a>


When I Inspect a popup large image the script is very different from yours:
˂img id="lbImage" class="grey" style="opacity: 1;" src="img10_full.jpg" width="116" height="87">

Maybe you have chosen different Picture Options from mine at wizard Step 7: Presentation & Behaviour.
What I have shown are the default lytebox based scripts.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Post Reply