- Posts: 14
Question Slide show - hide file path
- Yuk
- Topic Author
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- rsbarreiro
- Offline
- Junior Member
figcaption.wt-slide-show-figcaption {display: none}
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Perhaps you did not give a title to your media?
(If there is no title, then the filename is used.)
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Yuk
- Topic Author
- Offline
- New Member
- Posts: 14
Thе GEDCOM was exported from Agelong Tree (Древо Жизни) v.5.5.
I don't see TITL record for media objects in webtrees. Is it non-standard? How the title is recorded?
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Here is an example from the demo site.
There is an edit link on the media-object page.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Yuk
- Topic Author
- Offline
- New Member
- Posts: 14
Here is what I see in WT when I go to "Edit raw GEDCOM" from an individual's page (I don't see any other way to edit the media object).
What I can do differently to have the file title imported?
Please Log in or Create an account to join the conversation.
- drblam
- Offline
- Junior Member
- Posts: 146
That is not how you edit the media object. You need to focus on the media object itself, not the individual. Let's start from the individual page for the person to whom the media object is attached. Click on the "Media" tab (it's near the center below the name) and you will see a list of media objects associated with this person. Beneath each media thumbnail, the title (or file name if there is no title) is a hyperlink to the page for editing that object. This allows you to see and/or modify the title.Here is what I see in WT when I go to "Edit raw GEDCOM" from an individual's page (I don't see any other way to edit the media object).
Please Log in or Create an account to join the conversation.
- Yuk
- Topic Author
- Offline
- New Member
- Posts: 14
So, there is no way to see raw GEDCOM records behind a media object? How fisharebest get is from the demo?
Do you know why there is this difference in format between my GEDCOM file and the one from demo posted by fisharebest? Which one is "more standard"?
Please Log in or Create an account to join the conversation.
- Yuk
- Topic Author
- Offline
- New Member
- Posts: 14
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
The title is not attached to the file.
You have "1 TITL xxx"
You should have "2 TITL xxx"
> This is a part from GEDCOM I've imported:
> 1 OBJE
> 2 FILE kotliar2.files\Persons\Vasilievy\VasilievIvan.jpg
> 3 FORM jpg
> 2 TITL VasilievIvan
This is "inline media data".
webtrees will convert this into a "media record".
Perhaps this conversion process has an error?
Which software created your GEDCOM file?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Yuk
- Topic Author
- Offline
- New Member
- Posts: 14
Thе GEDCOM was exported from Agelong Tree (Древо Жизни) , v.5.5.fisharebest wrote: >Which software created your GEDCOM file?
I'll ask on their forum.
Please Log in or Create an account to join the conversation.
- Yuk
- Topic Author
- Offline
- New Member
- Posts: 14
rsbarreiro wrote: in the custom css module use:
figcaption.wt-slide-show-figcaption {display: none}
Do you mean this one? github.com/makitso/custom-css
So, I just add this line somewhere in custom.css?
Thanks
Please Log in or Create an account to join the conversation.
- rsbarreiro
- Offline
- Junior Member
Yuk wrote: Do you mean this one? github.com/makitso/custom-css
So, I just add this line somewhere in custom.css?
Thanks
no, i was referring to the custom css & js module that exists natively within webtrees ...
but if you are going to use titles in your images you will not have to worry about that, as the titles will replace the paths of the images ...
* translated by Google
Please Log in or Create an account to join the conversation.
- Yuk
- Topic Author
- Offline
- New Member
- Posts: 14
CSS and JS module was disabled in my webtrees, but I figured it out.
It may take some time to correct the title issue with my gedcom. I will experiment with both approaches.
Please Log in or Create an account to join the conversation.
- hermann
- Offline
- Elite Member
@Greg: I think that the original GEDCOM records are correct GEDCOM inline media data code and that there is an error in the conversion by webtrees
Hermann
Designer of the custom module "Extended Family"
webtrees 2.1.19 (all custom modules installed, PHP 8.2, MariaDB 10.6) @ ahnen.hartenthaler.eu
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
hermann wrote: I think that the original GEDCOM records are correct GEDCOM inline media data code and that there is an error in the conversion by webtrees
Could be indeed...
Annotated GEDCOM specs v5.5.1 page 7:
Note: some systems may have output the following 5.5 structure. The new context above was
introduced in order to allow a grouping of related multimedia files to a particular context.
Code:n OBJE +1 FILE <MULTIMEDIA_FILE_REFERENCE> +1 FORM <MULTIMEDIA_FORMAT> +1 TITLE <DESCRIPTIVE_TITLE> +1 <<NOTE_STRUCTURE>>
And page 73:
[...]Code:MULTIMEDIA_LINK:= [ n OBJE @<XREF:OBJE>@ | n OBJE +1 FILE <MULTIMEDIA_FILE_REFERENCE> +2 FORM <MULTIMEDIA_FORMAT> +3 MEDI <SOURCE_MEDIA_TYPE> +1 TITL <DESCRIPTIVE_TITLE> ]
Here's the GEDCOM 5.5 <MULTIMEDIA_LINK> definition for comparison:
Code:MULTIMEDIA_LINK:= [ /* embedded form */ n OBJE <XREF:OBJE>@ | /* linked form */ n OBJE +1 FORM <MULTIMEDIA_FORMAT> +1 TITL <DESCRIPTIVE_TITLE> +1 FILE <MULTIMEDIA_FILE_REFERENCE> +1 <<NOTE_STRUCTURE>> ]
stamboom.BertKoor.nl runs on webtrees v1.7.13
Please Log in or Create an account to join the conversation.
- hermann
- Offline
- Elite Member
So it is more serious than I have seen it before. In the meantime, I have in my tree many objects with more than one file and the titles of these files are normally different. So I have to think about how to combine these file titles to a unique media object title.
@Greg: would it make sense to offer a data fix procedure which combines the existing file titles to one object title?[/strike]
It seems one more time that the standard is confusing. On page 26 it defines the OBJE record:
Here TITL is the title of the file and not of the object.
And on page 37 the definition of the multimedia link, you have found:
Hermann
Designer of the custom module "Extended Family"
webtrees 2.1.19 (all custom modules installed, PHP 8.2, MariaDB 10.6) @ ahnen.hartenthaler.eu
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
I found seven occurrences of "+1 TITL" but just one occurrence of "+2 TITL" (in the OBJE context ofcourse).
Best be lenient then and allow for the TITL to be at both +1 and +2.
And someone better notify Tamura Jones
[edit: did that by Twitter]
stamboom.BertKoor.nl runs on webtrees v1.7.13
Please Log in or Create an account to join the conversation.