Skip to main content

Gérer les médias

CetteThe fenêtreMedia estmanager unlets gestionnaireyou deensure médiasthat quiall vousmedia permetfiles deused trouverin suryour votregenealogy disqueexist, leseither fichierson médiasyour utiliséslocal dansdisks unor fichieron the Internet, that they are used, and that they correctly link to your Gedcom etfile de les relier à leurs événements de généalogie correspondants.events.

CetteA typical situation peutwhere seyou produireneed sito voususe avezthis modifiétool vosis dossiersif photosyou parhave exemple,modified ouyour siphoto vousfolders venezfor deinstance, migreror votreif généalogieyou depuishave unjust autremigrated logiciel.your genealogy from another software.

    en-file-medias-1.png

    Gestion des médias
    Description

    The windows is made of 2 areas:

    • A fr_file_medias-1.pngstatistics area providing the number of files by category, the full directory name of the location of the Gedcom file, from which relative path files are to be considered, and a button to see all the media files.
    • An edition area where you can make 3 types of modifications and undo them
      • Swap paths from relative to absolute and vice versa
      • Edit folder's paths
      • Download remote files from the Internet to your local disks and change the link accordingly in your Gedcom file

    Statistics

    The indicators have the following meaning.

    • Total number of files is the total number of physical file references in your Gedcom file, either on your local disks or on the Internet. File references are written as FILE properties. Empty file names are included in this number. This number adds up local and remote files below. It also adds up to files attached to media entities and media properties.
    • Number of distinct files is the number of distinct physical files referenced by the genealogy. It can be lower than the number above. Indeed, the same physical file can be indicated in multiple FILE properties.

    A warning is displayed if some physical files are referenced more than once. It is inefficient because changing the file name on disk will require you to update the genealogy in more than one place. Click the "Show all files" button to identify which are these "duplicate" files and consolidate them into the same media entity.

    • Local files: this is the number of files physically located on your disks (hard drive, USB keys, etc). It is made of relative path files and absolute path files.
      • relative path files start from the location of the Gedcom file. The path string does not start with "/" or "C:\" for instance.
      • absolute path files start from the root disk folder, usually "/" or "C:\".
    • Remote files: this is the number of physical files located somewhere on Internet web sites.
      • A Check existence button lets you check if all remote file really exist. If you click this button, Ancestris will scan all remote files and try to access them. This can take a long time depending on your Internet connection and the response time of the various web sites involved. If there are no remote files in your genealogy, this button will be disabled.
    • Files attached to media entities: the file references (FILE) are sub-properties of media entities, and can therefore be used as references multiple times throughout the Gedcom file.
    • Files attached to media properties: the file references (FILE) are sub-properties of media properties, and cannot be used anywhere else in the Gedcom file.

    The next information is the full path name of your Gedcom file, from which relative paths will be starting.

    Finally, the "Refresh" button updates the statistics in case some files have changed locally or remotely, and the "Show all files" button opens the Media viewer with all the pictures of the genealogy.

    This Media viewer is the same viewer as the one accessed from the Cygnus editor with one difference: the list of pictures in Cygnus is limited to either events media or sources media.

    Edition

    This section includes various elements:

    • A table listing all folders used by the genealogy, split into different lines depending on whether the included files are found or not, local or remote, attached to entities or properties, relative or absolute.
    • Above the table are filters to only display certains lines.
    • To the right-hand side of the filters are the Clear and Select buttons to help you select and unselect lines more quickly. You can also select lines using the mouse.
    • Actions field and buttons below the table to make global changes

    Changes made in this editor are made in the Gedcom file and can be undone either via the undo button below, or using the Ancestris main menu bar undo/redo buttons.

    Folders table

    Each line in the table correspond to a group of files within the same folder and with the same attributes, found/unfound, local/remote, entity/property, and relative/absolute.

    • The columns on the left-hand side are for information only.
      • Files: number of physical file references included in the mentioned folder, that have the found, local and entity attributes indicated
      • Found: checked if files in this group are found, otherwise they are unfound
      • Local: checked if files in this group are local, otherwise they are remote
      • Entity: checked if files in this group are attached to entities, otherwise they are attached to properties
      • Folder: folder name. This is the FILE property value of the Gedcom file. For empty FILE values, Ancestris will display <empty/> as shown in the main window above. Please note empty files will be considered 'unfound'.
    • The columns on the right-hand side let you make some modifications on the folders and identify unfound files in particular.
      • Relative: checked if files in this group have a relative path, otherwise they have an absolute path. Clicking on the checkbox changes this attribute. It swaps from relative to absolute path and vice versa.
      • Action: this button opens a window which lists all the files included in this group to help you search for them when they are unfound. The window differs if the group is made of local files, or remote files. See below an example of each window.
      • Selection: click on the checkbox to select or unselect the line. The Replace button and Download button will apply to this selection.

    Numbers in column headers of the attributes indicate the number of files with the corresponding attribute.

    The number in the Selection header column indicates the number of lines selected.

    This is an example of the Search window for local files. An explanation of this window is provided in the corresponding usage section below. en-file-medias-2.png

    CetThis écranis vousan permetexample deof vousthe assurerSearch deswindow bonsfor liensremote entrefiles.

    votre

    en-file-medias-3.png

    fichier

    In this "Search of remote media files" window, the Internet button opens up your browser on the corresponding web site directory.

    In the list of media files, clicking on a file will try to open it in your browser. The files are listed in green if they could be accessed, in red otherwise.

    Filters

    • Unfound: check this filter to only display unfound files.

    Please note remote files are initially assumed to be found until an action has revealed there are unfound. Such action is for instance the "Check existence" button in the Statistic section, opening a remote file in your browser from the "Search of remote media files" window, or accessing media files via the Media viewer window, which can be opened via the Show all files" button or the Cygnus editor.

    • Local: check this filter to only display local files.
    • Remote: check this filter to only display remote files. In particular used when you want to download them.
    • Relative: check this filter to only display relative path files.
    • Absolute: check this filter to only display absolute path files.
    • Selected: check this filter to only display selected files.

    Once a filter is applied, the numbers in the column headers adjust themselves to only count the filtered files.

    Clear and Select buttons

    These actions apply to filtered lines only.

    • Clear: click this button to unselect filtered lines.
    • Select/Unselect: click this button to swap the selection of mouse-highlighted filtered lines. If no line is mouse-highlighted, swaps the selection box of filtered lines.

    Action field and buttons

    • Replace subpath field:
      • Applies to selected lines (selection check box).
      • When lines are selected, this field displays the longest common path of selected lines.
      • It can be edited and the new path string will replace the former one when the Replace button is pressed.
    • Replace button: if the subpath string has been changed, replaces the old subpath with the new one.
    • Relative button:
      • Applies to all filtered lines, whether selected or not
      • Swaps all relative paths to absolute paths and vice versa
    • Download button:
      • Applies to selected lines (selection check box).
      • Downloads all remote files in a folder of your choice and modified the path to be the corresponding local one.
      • The local folder structure will be the one of the Internet web site.
    • Undo button:
      • Reverse any change made within this editor, up to the situation of the Gedcom etfile voswhen fichiersthe médias.Media manager window was last open.
      • To undo changes made before that, use the Undo button of the Ancestris main menu bar.

    Usage

    The main use cases of the Media manager tool are the following.

    • To "reconnect" media files to your genealogy if you are migrating from another software or if you have moved files on your computer. This is the problem of 'unfound files" described below.
    • To check if all your files are still well connected to your genealogy, in particular remote files.
    • To make all files relative rather than absolute
    • To download remote files, for instance when importing your genealogy from Geneanet or any genealogy web site, in order to make a local backup copy.
    • To simply access and view all your media files

    In case you have your main genealogy on a website like Geneanet and Ancestry.com, it is our topmost recommendation to make sure you have usable local copies of this genealogy, including media files, in distinct locations.
    A 'usable' copy means a file in Gedcom format with separate media files properly attached to the Gedcom file events and sources.

    Les 3 premiers indicateurs vous indiquent combien de fichiers Gedcom sont correctement rattachés ou non selon leur nature, sur l'ensemble des fichiers médias indiqués dans vos données généalogiques.

    Dans l'exemple ci-dessus, l'un des fichiers multimédia n'a pas été trouvé. Il concerne la ligne rouge ci-dessus. C'est un problème car Ancestris ne pourra pas afficher le média correspondant.

    Si vous n'avez pas cette ligne rouge, tout va bien et vous pouvez passer à autre chose. Sinon, suivez les instructions ci-dessous.

    D'oùProblem peutof venir'unfound le problème?files'

    Where can the problem come from?

    Avez-vous1. renomméHave votreyou dossierrenamed multimédiayour oumedia votrefolder fichieror multimédia?your media file?

    SiIf votreyour photo seis trouvein dansa un/mygenealogy/photos/MyPicture.jpg fichierfile and your Individual entity references this photo in a FILE tag with value of /mygenealogy/photos/MyPicture.jpg, etthen quethe votrelink entitéis Individuvalid. référenceEverything cetteis fine.

    Now, if you rename your photos directory or just the media file, it may generate a broken link. For instance, if your photo dansfile unebecomes balise FILE avec la valeur /mygenealogy/photos/MyPicture.jpg, alors le lien est valide. Tout va bien.

    Maintenant, si vous renommez votre répertoire de photos ou simplement le fichier multimédia, cela peut générer un lien brisé. Par exemple, si votre fichier photo devient /mygenealogy/media/media/MyPicture.jpg avecwith media auinstead lieu deof photos, Ancestris newill lenot trouverafind pasit carbecause ilit pensestill toujoursthinks qu'ilit seis trouvein dans le dossierthe "photos" etfolder, nonnot "medias".

    C'estThis suffisantis pourenough rompreto lebreak lien.the Lelink. gestionnaireThe deMedia médiasManager ci-dessusabove afficherawill parconsequently conséquentdisplay votreyour photo commeas unan médiaunfound introuvable.media.

    Avez-vous2. déplacéHave votreyou fichiermoved Gedcom ?your Gedcom file?

    PlutôtRather quethan derenaming renommera unmedia dossierfolder multimédiaor oua unfile, fichier,you vousmay avezhave peut-êtrejust déplacémoved votreyour fichierGedcom Gedcom.file.

    PositionRelative relativeposition entrebetween votreyour Gedcom etand vosyour médiasmedia
    • If

      Siyour vosmedia fichiersfiles médiasare sontdescribed décritsin enrelative position relativewith parrespect rapportto à votre fichier Gedcom, le lien est perdu, car dans ce cas vous auriez aussi dû déplacer vos fichiers médias en même temps que votre fichieryour Gedcom defile, généalogie.

      the

       

      link is lost, because in this case you would have had to move your media files at the same time as your genealogy Gedcom file.
    • NousWe vousrecommend recommandonsthat deyou neonly spécifierspecify votreyour médiamedia qu'enin relative position relativeof par rapport à l'emplacement de votre fichieryour Gedcom carfile celalocation vousas permetthis deallows déplaceryou vosto fichiersmove sansyour renommerfiles leswithout liens.renaming the links.
    PositionAbsolute absolueposition entrebetween votreyour Gedcom etand vosyour médiasmedia
    • If

      Siyour vosmedia fichiersfiles multimédiasare sontdescribed décritsin enabsolute position, the link to the media is not lost because it is not using the position absolue,of lethe lienGedcom vers le média n'est pas perdu car il n'utilise pas la position du fichier Gedcom.

       

      file.
    • But

      Maisthe l'inconvénientdownside estis quethat siif vousyou déplacezmove votreyour généalogiegenealogy surto une cléa USB parkey, exemple,for votreexample, médiayour seramedia restéwill surhave votreremained disqueon duryour ethard vousdrive neand pourrezyou voirwill votreonly médiabe queable sito lasee cléyour media if the USB restekey surremains votreon ordinateur.

      your

       

      computer.
    • If

      Siit c'estis pourto montrershow votreyour généalogiegenealogy àto l'unone deof vosyour proches,relatives, vousyou devrezwill déplacerhave lesto fichiersmove médiasthe surmedia votreto cléthe USB,USB normal.key. MaisBut dusuddenly coupthe leslinks lienswill serontbe rompusbroken carbecause le fichierthe Gedcom penserafile qu'ilswill sontthink toujoursthat surthey votreare ordinateur.still Vouson devrezyour lescomputer. renommerYou unwill parhave unto dansrename lethem by one in Gedcom ouor bienelse vousyou utiliserezuse cet outilthis Media Managermanager pour les passer en liens relatifs.

      tool.

    Vos3. fichiersHave ontyour étéfiles supprimésbeen ?deleted?

    Une autre raisonAnother possible d'unereason pertefor dea lienloss entreof votrelink between your Gedcom etfile vosand fichiersyour médiasmedia peutfiles égalementcan veniralso decome suppressionsfrom defile fichiersdeletions suron lethe disque.disk. C'estIt's plusmore ennuyeuxannoying carbecause ilyou fauthave déjàfirst mettreto laget mainhold surof cesthese fichiersfiles avantbefore decontinuing continuerwith avecthe lemedia gestionnairemanager deor médiaselse ouremoving sinonthe supprimerlinks lesin liensthe dansGedcom le fichier Gedcom.file.

    LeThe gestionnaireMedia demanager médiasdoes nenot supprimeremove pasthe leslinks, liens,it iljust lesrenames renomme simplement.them.

    Résolution4. duCase problèmeof remote files

    SiIn vousthe êtescase sûrof queremote vosfiles, fichiers'unfound multimédiasfiles' secan trouventjust quelquebe partthe surresult votreof ordinateur,the cliquezweb sursite lebeing boutonreorganised, enor basrenamed deor laany fenêtreother similaireweb àsite celle-ci.structural modifications.


    Resolution of the 'unfound files' problem for local files

    Let us consider the following example with the unfound line below where 1 file is missing in the documents folder.

    fr_file-properties-5-media-unfound-manage.pngen-file-medias-4.png

    LaIf fenêtreyou suivanteare apparaît.confident that your media file is somewhere on your computer, click on the "Search" button in the Action column to locate the corresponding media file.

    The following "Search of local media files" appears.

    en-file-medias-5.png

    This window will help you find the lost file.

    fr_file-properties-5-media-manage.pngIn the window above, Ancestris will search for the missing files in all directories underneath the root directory indicated at the top. You can change it using the "Search from another folder..." button, or 'Pick original folder" to go back to the original root directory where the Gedcom file is located.

    CetteThe fenêtrefiles donneto d'abordbe lefound nomare dulisted répertoirein red sein trouvethe leleft fichiercolumn. Gedcom.Otherwise, Lesthey cheminswill relatifsappear commencerontin àgreen. partirIn dethis example, the file to be found is "Herald_Tribune.jpg".

    EnPlease dessous,note dansunfound lefiles tableau,can vousalso verrezbe laquickly listelocated deusing tousthe les différents chemins trouvés dans le fichier"Validate Gedcom (toutescompliance lesand balisesData FILE).consistency" tool if you have indicated in the Preference window that files not found are to be considered invalid. However it does not help you find them.

    Dans l'exemple ci-dessus, sur 10 fichiers multimédias, 1 média est introuvable dans le dossier "documents", 1 média se trouve dans ce même dossier et 8 fichiers multimédias se trouvent dans le dossier "photos". Tous les liens de fichiers multimédias sont spécifiés dans le fichier Gedcom en position relative à partir de l'emplacement du fichier Gedcom.

    SurThe chaquedirectories ligne,where vousthe pouvezfiles cliquerexist surare lelisted boutonin "..."the dansright-hand-side la colonne Recherche pour localiser les fichiers multimédias correspondants.

    Dans l'exemple ci-dessus, la fenêtre suivante apparaît si vous cliquez sur le premier bouton avec le fichier multimédia introuvable.

    fr_file-properties-5-media-search.png

    Cette fenêtre vous aidera à retrouver le fichier perdu.

    Ancestris recherchera le fichier dans tous les répertoires sous le répertoire racine indiqué en haut. Vous pouvez le modifier en utilisant le bouton "Autre..." ou "Original" pour revenir au répertoire racine d'origine.

    Les fichiers à trouver sont listés en rouge dans la colonne de gauche. Sinon, ils apparaîtront en vert. Dans cet exemple, le fichier à rechercher est "Herald_Tribune.jpg"

    Les répertoires où les fichiers existent sont dans la colonne de droite.column.

    • SiIf aucunno répertoiredirectory n'apparaîtappears àon droite,the celaright, signifieit quemeans lethe fichierfile n'existedoes dansnot aucunexist desin dossiersany sousof lethe répertoirefolders racineunderneath indiquéthe enroot haut.directory Siindicated vouson changeztop. leIf dossieryou racinechange etthe toujoursroot aucunfolder répertoireand n'apparaît,still celano signifiedirectory queappear, leit fichiermeans estthe soitfile supprimé,is soiteither quedeleted sonor nomits aname changé.has Vouschanged. devrezYou utiliserwould votrehave explorateurto deuse fichiersyour surfile votreexplorer on your PC pourto identifieridentify sonits nouveaunew nomname ouor bienelse recréerrecreate lethe fichiermedia multimédia.file.
    • SiIf unone ouor plusieursmore dossiersfolder sontis répertoriéslisted àon droite,the sélectionnez-enright, un.select Leone boutonof them. The SélectionPick selected folder devraitbutton devenirshould disponible.become Appuyezavailable. dessusPress pourit définirto leset répertoirethe trouvéfound commedirectory nouveauas répertoirethe racine.new Vousroot pouvezdirectory. aussiYou double-cliquercan directementalso surdirectly ledouble répertoireclick àon sélectionner.the directory to be selected.

    ParFor exemple,instance, ci-dessous,using j'ai changé le répertoire racine en myGenalogy et le dossier photos est apparu à droite. J'ai appuyé sur le boutonthe "Sélection",Search puisfrom leanother fichierfolder..." debutton, gaucheI redevientchanged vertthe etroot ledirectory, dossierto racinemyGenealogy and two folders appear on the right-hand-side. It means the missing file - or at least a étéfile miswith àthe joursame avecname as the missing file - sits within both folders.

    en-file-medias-6.png

    If I would rather move the missing file from one of these folders to the one it was supposed to be in before (in this example the documents/ folder), I would use my computer file explorer to do that and reopen the main panel of the Media manager, or press the "Photos"Refresh" button to refresh the statistics.

    Otherwise, if I want to leave the missing file in that folder, I have to "re-attach" it to the Gedcom file from where it is.

    I select the first folder for instance. I get the following window where the "Pick selected folder" becomes enabled.

    en-file-medias-7.png

    I press the "Pick selected folder" button and then, the root folder is updated to point to the "photos" folder and the file on the left becomes green again. 

    en-file-medias-8.png

    I click OK to go back to the Media manager window. The line now appears as found. This is the line with 9 found files in folder "photos/". I was showing 8 found files before. Now it is showing 9, and the line witth the missing file is no longer there.

    en-file-medias-9.png

    Done!

    Downloading remote files

    Let's look at a use case where you might want to download remote files.

    For instance, you have been working days and nights for two years on your genealogy and have used a web site such as Geneanet, Ancestry.com or Genoom. You have now more than 5000 individuals and 500 media files referenced on Geneanet for instance. This actually happened to a friend of mine.

    Of course, you can export your genealogy from Geneanet and open the corresponding Gedcom file from Ancestris. It will work. You will see your genealogy tree with all the pictures as well, even though the pictures are still on the Geneanet web site.

    Three issues may arise:

    • The first time you display each picture, the response time from Ancestris might be a bit long. This is because the picture is read from the Internet and cached in memory. With many pictures, and depending on the memory size of your computer and the quality of your Internet connection, it might be a bit annoying. Nothing serious though.
    • A bit more serious is if you loose your connection temporarily. Ancestris will not see your picture which are only on a remote web site.
    • Finally, an issue is much more serious. If the web site disappears - this happened to all Genoom users, you no longer have access to your pictures. You have to make a local copy.

    In this situation, you will want to have a copy of your pictures on your computer or a USB drive. But you need all your Gedcom file links to be modified and link to the local files rather than the remote files. Of course!

    Here is an example of what you would see and do.

    The following window shows the Media manager window right after importing the genealogy called RemoteGen from Geneanet and opening it. It contains 430 files linked 567 times throughout the genealogy.

    en-file-download-1.png

    As we can see, all files are in separate folders on the web site. We are now going to download them all.

    By default, all remote files are assumed to be found.

    First, we will check that remote files exist on the Internet to only download those that do exist. It would not differ much to just download them all right away, and just get the one that exist.

    Ok, so we press the "check existence" button. The progress bar shows the checking process.

    en-file-download-2.png

    Once completed, we can see this on the statistics.

    en-file-download-3.png

    All but 3 files exist.

    Select all files using the "Select/Unselect" button next to the filters. If you want, unselect the unfound ones to exclude them.

    Then click the Download button. The following window lets you choose the destination folder.

    en-file-download-4.png

    Then click the Choose button. The download process starts.

    en-file-download-5.png

    Upon completion, the following result window appears.

    en-file-download-6.png

    Here, it says that 564 files out of the 567 have been downloaded successfully. The 3 unfound files have been set to unfound in case there were not already.

    Press OK and the Media manager window now shows 564 local files in their local folders, with the same folder structure as there is on Geneanet.

    en-file-download-7.png

    Done!


    Editing the path of multiple folders

    Now let's see how to edit multiple paths at the same time.

    Let's consider the following situation where we would like to tell Ancestris that the three following folders have actually been moved to a "tree" folder which is in the same folder as the Gedcom file.

    en-file-replace-1.png

    The folders are highlighted with the mouse. So now let's click the "Select/Unselect" button. It will check the 3 corresponding check boxes.

    en-file-replace-2.png

    The Subpath field is empty. This is because there is no common path between the 3 folders. We will see below another example where it is not empty.

    In the empty field, type "tree/".

    fr_file-properties-5-media-found.pngen-file-replace-3.png

    LeThen fichierpress avait apparemment été déplacé dethe "Documents"Replace" versbutton with the pencil. Ancestris has added "Photos".tree/" Siin jefront préfèreof lethe déplacerprevious verspath Document, je peux le faire en utilisant mon explorateur de fichiers après avoir annulé l'action ici. Sinon, cliquez simplement sur OK.

    Vous serez de retour à cette fenêtre ci-dessous, où les compteurs ont été mis à jour, le fichier introuvable n'est plus introuvable.names.

    fr_file-properties-5-media-list-found.pngen-file-replace-4.png

    LorsqueYou touteswill lesnotice casesthe "Trouvéundo" sontbutton cochées,becomes vousenabled avezif trouvéit touswas lesnot fichiers perdus.

    Cliquez sur OK.

    Le gestionnaire de médias affichera ceci :already.

    fr_file-properties-5-media-modifications-requested.pngen-file-replace-5.png

    APress ceit stade,to aucunecancel modificationthe n'aprevious encorechange. étéWe apportéeare auback fichierto Gedcom.the initial situation.

    SiLet's vousnow êtesselect d'accordboth pourlines continuer,with appuyez sur OK. Sinon, appuyez sur le bouton centralthe "Annulationdocuments" de la demande".folders.

     

    The

     

    subpath

    Résultat

    field

    Ennow appuyantsays sur"documents/" OK,because sithis certainsis liensthe delongest fichierscommon multimédiasstring dansbetween leboth fichier Gedcom doivent être modifiés, vous verrez un panneau de résultats comme celui-ci.lines.

    fr_file-properties-success.pngen-file-replace-6.png

     Add "Other/" after "documents/" in the text field.

     en-file-replace-7.png

     Upon pressing the "Replace" button, the paths have changed accordingly.

     en-file-replace-8.png

    Done!