Web based family history software

Question Sources Tab

  • kurtro58
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 2 months ago - 1 year 2 months ago #1 by kurtro58
Sources Tab was created by kurtro58
Is it possible in webtrees 2.1 to display the sources including the linked images on the Sources tab, as in version 1.7, and not the source citations that appear without images?


Microsoft Windows Server 2012 R2 Standard
ProLiant DL320e Gen8 v2
Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz, 3100 MHz, 4 Kern(e), 4 logische Prozessoren
RAM 32,0 GB
www.rossacher.at
webtrees 2.1.17
Apache/2.4.25 (Win64)
PHP/8.2.5
MySQL 8.0.20
Last edit: 1 year 2 months ago by kurtro58.

Please Log in or Create an account to join the conversation.

  • hermann
  • Away
  • Elite Member
  • Elite Member
More
1 year 2 months ago #2 by hermann
Replied by hermann on topic Sources Tab
You can use a custom module for that, see github.com/Jefferson49/RepositoryHierarc...-in-individual-facts

Hermann
Designer of the custom module "Extended Family"

webtrees 2.1.21 (all custom modules installed, PHP 8.3.12, MariaDB 10.6) @ ahnen.hartenthaler.eu

Please Log in or Create an account to join the conversation.

  • kurtro58
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 2 months ago #3 by kurtro58
Replied by kurtro58 on topic Sources Tab
Thank you for your immediate reply, I have already installed it and activated the relevant points, but it did not solve the problem.

Microsoft Windows Server 2012 R2 Standard
ProLiant DL320e Gen8 v2
Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz, 3100 MHz, 4 Kern(e), 4 logische Prozessoren
RAM 32,0 GB
www.rossacher.at
webtrees 2.1.17
Apache/2.4.25 (Win64)
PHP/8.2.5
MySQL 8.0.20

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #4 by Jefferson49
Replied by Jefferson49 on topic Sources Tab

Thank you for your immediate reply, I have already installed it and activated the relevant points, but it did not solve the problem.

Can you explain the problem, which is not solved? Can you provide a screenshot what it currently shown in your webtrees 2.1 and Repository Hierarchy installation?

You can also post an issue on the Github page of the custom module: github.com/Jefferson49/RepositoryHierarchy/issues


With using the Repository Hierarchy custom module, it should look like this:




Additional note: In the screenshot, the details of the source citation are not shown. There is a webtrees setting within trees to "Automatically expand sources", where this behavior can be changed. There is also an additional setting within Repository Hierarchy to show additional information about the repository of the source: "Show additional source facts (REPO, REPO:CALN) within source citations."

Please Log in or Create an account to join the conversation.

  • kurtro58
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 2 months ago #5 by kurtro58
Replied by kurtro58 on topic Sources Tab
Thank you for your message.
The selection points you mentioned are all activated.
Unfortunately, no media can be seen, only when I click on the titles of the source citations are the media objects there.
But when I click on the edit symbol, the link to the media object is missing - that might be the problem, in version 1.7 the images were apparently still displayed.
Could it be because in version 1.7 the sources themselves were displayed on the sources tab and not source citations? (see my screenshots from the first message)
It should be a tedious task for me, I have over 8000 pictures...




Microsoft Windows Server 2012 R2 Standard
ProLiant DL320e Gen8 v2
Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz, 3100 MHz, 4 Kern(e), 4 logische Prozessoren
RAM 32,0 GB
www.rossacher.at
webtrees 2.1.17
Apache/2.4.25 (Win64)
PHP/8.2.5
MySQL 8.0.20

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #6 by Jefferson49
Replied by Jefferson49 on topic Sources Tab

Unfortunately, no media can be seen, only when I click on the titles of the source citations are the media objects there.
But when I click on the edit symbol, the link to the media object is missing - that might be the problem

I guess the observed behavior is related to the difference between a source and a source citation. Both of them can contain media objects; even the same objects. This might be confusing on first sight, but can make sense. For example, you could add all pictures taken from a certain church book and add them to the church book source. In parallel, you could add the one picture from a birth entry and add it to the source citation within the birth record of an individual.

Example Gedcom for a source with media objects:
Code:
0 @S7523@ SOUR 1 TITL Kirchenbuch Döblitz Taufen, Trauungen, Sterbefälle 1620-1645 1 REPO @R7387@ 2 CALN Rep. R 03 - 2738, 1344/1 1 OBJE @M7527@ 1 OBJE @M7524@

Example Gedcom for a source citation with media objects:
Code:
0 @I623@ INDI 1 NAME Conrad /Maier/ 1 BIRT 2 DATE 29 FEB 1644 2 SOUR @M7527@ 3 OBJE @M7524@ 3 PAGE 1644, S. 286 3 DATA 4 TEXT "1644. Getauffte zu Döblitz [...]

Please note that the media object @M7527@ is referenced in both structures (source and source citation).

What you see in webtrees 2.1 and also in Repository Hierarchy are the source citations, either linked to a fact/event (like BIRT in my example Gedcom) or directly linked to the individual. If the media objets are references in the sources itself, they are not shown here. However, you can see the media objects of the sources if you open the source itself.

Please Log in or Create an account to join the conversation.

  • kurtro58
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 2 months ago #7 by kurtro58
Replied by kurtro58 on topic Sources Tab
Yes, I can understand that, I was thinking along these lines too, but I was hoping there would be a solution that meant less work.
Thank you for your support.

Microsoft Windows Server 2012 R2 Standard
ProLiant DL320e Gen8 v2
Intel(R) Xeon(R) CPU E3-1220 v3 @ 3.10GHz, 3100 MHz, 4 Kern(e), 4 logische Prozessoren
RAM 32,0 GB
www.rossacher.at
webtrees 2.1.17
Apache/2.4.25 (Win64)
PHP/8.2.5
MySQL 8.0.20

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #8 by Jefferson49
Replied by Jefferson49 on topic Sources Tab

Could it be because in version 1.7 the sources themselves were displayed on the sources tab and not source citations?

Yes, this might be an explaination. However, I do not remember 1.7 and cannot cross check. From a methodology point of view, the behavior of webtrees 2.1 (show source citations) seems to be more correct. Maybe, this was changed between 1.7 and 2.1

Additional hint:
In webtrees 2.1 you can decide with a checkbox "show all sources", if you only want to see the source citations linked directly to the individual or if you want to see all souce citations from all events/facts.
Attachments:

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago - 1 year 2 months ago #9 by Jefferson49
Replied by Jefferson49 on topic Sources Tab
As a test, I have just created a patch to show the media objects in sources as well. You can download the patch on Github: github.com/Jefferson49/RepositoryHierarchy/issues/37

If you want to test it and have feedback, it would be best to share it on Github.
Last edit: 1 year 2 months ago by Jefferson49.

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #10 by fisharebest
Replied by fisharebest on topic Sources Tab
Media objects can be attached to sources and also to source-citations.

When we display a source-citation, we do not show the media attached to the source - just the media attached directly to the citation.

It would be straightforward to change this (and show both types of media on the citations).

It has been discussed several times on the forum, and each time, the consensus here was to keep the current behaviour.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 2 months ago #11 by norwegian_sardines
Replied by norwegian_sardines on topic Sources Tab
I for one did not want images associated with the Source_Record shown in association with a fact/event because the Source_Record for me is used to display general images about the source such as the book cover, title page, web page, while the source_citation displays specific images relating to the fact/event data being presented.  In a report I don’t want book title pages showing for every citation that uses that source object!

Ken

Please Log in or Create an account to join the conversation.

  • JustCarmen
  • Away
  • Elite Member
  • Elite Member
More
1 year 2 months ago #12 by JustCarmen
Replied by JustCarmen on topic Sources Tab

I for one did not want images associated with the Source_Record shown in association with a fact/event because the Source_Record for me is used to display general images about the source such as the book cover, title page, web page, while the source_citation displays specific images relating to the fact/event data being presented.  In a report I don’t want book title pages showing for every citation that uses that source object!
I agree. I'm using it the same way. Sources can be used multiple times and contain generic images while source citations are unique to the fact/event and contain images associated with that fact/event.


Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2


Check my website at www.justcarmen.nl

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #13 by Sir Peter
Replied by Sir Peter on topic Sources Tab
I agree as well, but the downside of the medal is that you have to attach the same image to all facts and events that can be deducted from that source_citation.

A shared source_citation as suggested in github.com/FamilySearch/GEDCOM/issues/348  would resolve that issue. Maybe you could join and support that request to give it more weight.

Peter

Please Log in or Create an account to join the conversation.

  • norwegian_sardines
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 2 months ago #14 by norwegian_sardines
Replied by norwegian_sardines on topic Sources Tab
I’ve already put my two cents in on the “Normalization” process that is desperately needed in GEDCOM if it is to move forward with reusable data!

Ken

Please Log in or Create an account to join the conversation.

More
1 year 2 months ago #15 by Jefferson49
Replied by Jefferson49 on topic Sources Tab
I mainly add media objects to source citations; sometimes also to sources. In source citations for facts /events, I mainly want to see the media objects of the citation. Sometimes, it would be helpful to also have access to the media objects of the source. However, I would not like to see a mixture of all the media objects. Therefore, I propose to add a separate collapsable division with the media objects of the source directly below the source; e.g. regularly collapsed. And, keep showing the media objects of the citation below the citation.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum