fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
462 stars 299 forks source link

New Media Added to sources not showing in Media Tab #4832

Open nbaxley opened 1 year ago

nbaxley commented 1 year ago

When I add new media to a source, it shows up as a fact and not in the media tab. I would expect it to at least show in the media tab, and possibly both places. I'm using the Add media object in the drop down Menu to create the new item. I created a test image on the demo (https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo%2Fsource%2FS215%2FWikipedia) not sure how long that will stick around. I had the same issue on my own site. The connection to the media object is there and shows in the media listing in the control panel, but not on the source media tab. Interestingly, the same demo source already has a media in it that shows on the media tab but NOT as a fact.

fisharebest commented 1 year ago

The media tab (on the individual page) shows media linked to the individual (or families where the individual is a spouse).

It does not show indirectly linked media objects, such as media linked to sources linked to the individual.

It would, of course, be possible to add this. However, it was discussed on the forum recently (6 months ago?) and also several years ago. The consensus was that these media objects shouldn't be shown.

Essentially, you can add media to sources (which aren't shown on the individual page), and also to source-citations, which are part of the individual record, and are shown.

nbaxley commented 1 year ago

I'm talking about the media tab on the source page, not the individual (https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo%2Fsource%2FS215%2FWikipedia). I would have expected it to show media added to the source, but I see now that it shows media that has this source cited on the media. I can follow the logic though I'm not sure it's intuitive. Thanks for the response and if this is what was decided, you can close this ticket.

ric2016 commented 1 year ago

I can follow the logic though I'm not sure it's intuitive.

It may not be intuitive at first because the tabs on the individual page work differently?

Basically the tabs on the individual page show 'forward links', i.e. data managed as sub-tags of the respective individual; while the tabs on other objects, such as sources, show 'inverse links' managed elsewhere.

Would more explicit tab headers (or tooltips) e.g. "Linked individuals" etc. help to make this difference more explicit?