RootsMagic to TNG (moved to Posts)

[vc_row][vc_column][vc_column_text]For those of you that use RootsMagic and are looking for a way to share your tree online, TNG (The Next Generation of Genealogy Sitebuilding) is a great option. This does involve a few steps, which prompted me to write this blog article. I hope it helps. I’m using RootsMagic version 8, but I’m guessing that you should still be able to follow these steps if you’re still using RootsMagic version 7. In fact, since we’re importing a GEDCOM into TNG, most of these steps should work with other genealogy programs (Legacy, Family Tree Maker, etc.). Features like shared facts/events and media links may differ. I’ll go into more detail on those features below.

First, some important things to consider.

  1. TNG is much more than a way to share your tree online. It is a fully functional genealogy database program. Instead of a program that you install on your desktop computer, your genealogy database resides on your very own website. Usually this is a website that you’ve set up by using a webhosting provider where they have all of the hardware and they allocate space for you. It is important that your provider supports PHP (a web scripting language) and MySQL (relational database), since that is what TNG uses. Most providers offer these tools.
  2. That said, you can edit your genealogy database in TNG, add sources, etc.
  3. However, if you prefer to use something like RootsMagic as your “main” genealogy database program and you want to use TNG as a method of sharing your database online, then you probably won’t want to do a lot of editing directly in TNG because it may get overwritten each time you import a new GEDCOM file from RootsMagic.
  4. If you like the idea of sharing your tree online in a way that other family members can contribute, then you may want to just stick with TNG as your main genealogy database and create user logins for those family members that you trust to contribute to your tree.

Now, let’s dive in!


The steps that I use are as follows. It seems like a lot of steps, but they go pretty quickly when done on a regular basis.

  1. RootsMagic – make updates
  2. RootsMagic – export to GEDCOM
  3. TNG – import GEDCOM
  4. FileZilla – upload media files that were recently added to RootsMagic
  5. TNG – create thumbnails for media
  6. TNG – set place level for new places
  7. MySQL Workbench – set media option to open in a new window (optional, my personal preference)

As with most software, there are multiple ways of doing things, which I’ll explain in more detail.

RootsMagic – Export to GEDCOM

When exporting your RootsMagic database to a GEDCOM file, I suggest selecting the option to include “Multimedia links“. I don’t bother selecting the option to “Privatize living people” because TNG already does that.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”large” overlay_style=”” image_id=”441″ lightbox_title=”RootsMagic GEDCOM Export Settings”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]


First, make a backup by going to Admin Home, Utilities, Select All, Back up, Go.

Admin Home, Import/Export, Import, Choose File.

  • For the “Replace” option, choose “All current data“. Note, this will wipe out everything in your TNG database and replace it with what is in your GEDCOM. This is fine unless this isn’t how you want to use TNG. If that is the case, you probably should stop reading this article.
  • Select “Import media links
  • Select “Import latitude / longitude data if present

[/vc_column_text][/vc_column][vc_column][vcex_image lightbox=”true” img_size=”medium_large” overlay_style=”” image_id=”453″ lightbox_title=”TNG, Import GEDCOM”][/vc_column][vc_column][vc_column_text]

Media in RootsMagic

Before going further, let’s discuss media. In RootsMagic, when you add media to a person or fact, you are really just adding a pointer to where your media resides on your hard drive (Filename). You can add other details, such as a Caption, Description, Date, and Reference #. These details are stored in the RootsMagic database and get exported as part of your GEDCOM file. The actual media file does NOT get stored in your database and does NOT get exported with your GEDCOM, just the textual descriptions.

You will notice that RootsMagic creates a thumbnail of your image. That thumbnail does get stored in the RM database, but does not get exported. You will be creating new thumbnails in TNG. By the way, if you have modified your media file and want to refresh the thumbnail in RM, you don’t have to delete and re-add the media. Just change the Filename, like adding the letter “x” so it no longer finds your media file. Save. Then go back and remove the “x” and save again and it will generate a new thumbnail for you!

Below is an example of a media item (1860 census page) in RootsMagic and how it appears in the GEDCOM file.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”large” overlay_style=”” image_id=”446″ lightbox_title=”Media File in RootsMagic”][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”large” overlay_style=”” image_id=”447″ lightbox_title=”Media File in GEDCOM”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

Media Setup in TNG

Using the example above, how do I get TNG to find my media file? Obviously there is no “D” drive on my website and the path will be much different.

In TNG, it will create the following folders for your various types of media.

  • photos
  • documents
  • histories
  • headstones
  • media

You can customize these to your liking. For my TNG setup, I have installed TNG below “public_html” in a folder named “familytree“. So these other folders are below that. For example: /public_html/familytree/photos/.

RootsMagic doesn’t care where your media files are. Each file could be in a completely unique folder structure or even on different drives.

I suppose that the simplest approach to using both RootsMagic and TNG would be to have your desktop computer folders match closely to TNG. For example:

  • C:\FamilyHistory\photos –> /public_html/familytree/photos/
  • C:\FamilyHistory\documents –> /public_html/familytree/documents
  • etc.

That doesn’t work for me. But, I’ve found a slick way to set all of this up while keeping my preferred folder structure on my desktop computer. I store everything in buckets based on a family surname and I’m using Dropbox, so everything is always backed up automatically for me and accessible from anywhere. Below is an example of the folders I have for the “Britt” surname. I repeat all of these subfolders for each surname.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_raw_html css=”.vc_custom_1643600958035{background-color: #ddc8a6 !important;border-radius: 1px !important;}”]JTNDcHJlJTNFJTBBRCUzQSU1Q0Ryb3Bib3glNUNfRmFtaWx5SGlzdG9yeSU1Q1N1cm5hbWVzJTVDQnJpdHQlNUNCaXJ0aHMlNUMlMEFEJTNBJTVDRHJvcGJveCU1Q19GYW1pbHlIaXN0b3J5JTVDU3VybmFtZXMlNUNCcml0dCU1Q0NlbnN1cyU1QyUwQUQlM0ElNUNEcm9wYm94JTVDX0ZhbWlseUhpc3RvcnklNUNTdXJuYW1lcyU1Q0JyaXR0JTVDRGVhdGhzJTVDJTBBRCUzQSU1Q0Ryb3Bib3glNUNfRmFtaWx5SGlzdG9yeSU1Q1N1cm5hbWVzJTVDQnJpdHQlNUNNYXJyaWFnZXMlNUMlMEFEJTNBJTVDRHJvcGJveCU1Q19GYW1pbHlIaXN0b3J5JTVDU3VybmFtZXMlNUNCcml0dCU1Q01pbGl0YXJ5JTVDJTBBRCUzQSU1Q0Ryb3Bib3glNUNfRmFtaWx5SGlzdG9yeSU1Q1N1cm5hbWVzJTVDQnJpdHQlNUNOZXdzcGFwZXIlNUMlMEFEJTNBJTVDRHJvcGJveCU1Q19GYW1pbHlIaXN0b3J5JTVDU3VybmFtZXMlNUNCcml0dCU1Q090aGVyJTVDJTBBRCUzQSU1Q0Ryb3Bib3glNUNfRmFtaWx5SGlzdG9yeSU1Q1N1cm5hbWVzJTVDQnJpdHQlNUNQaG90b3MlNUMlMEElM0MlMkZwcmUlM0U=[/vc_raw_html][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]So, if I’m storing an image of a census page for someone in the Britt family, it goes to …\Britt\Census\. If it’s an image of a death certificate, it goes to …\Britt\Deaths\.

But, in TNG, I really just want everything in TNG’s “photos” folder. I don’t even care to differentiate between photos, documents, headstones, etc. Who cares? It’s just somewhere to upload copies of my media so it can be shared online.

Here’s the tricky part. Remember the media filename in GEDCOM? It has that long path that matches how it’s stored on my hard drive (D:\Dropbox\_FamilyHistory\Surnames\Britt\Census\). When I upload my GEDCOM, my TNG database needs to know how to find the file on my website, so I can’t just upload it to the “photos” folder. So, what you do, is pick sort of a “root” folder on your desktop computer from which all of your media files can be found. For me, that’s D:\Dropbox\_FamilyHistory\Surnames\. This would not work well if I linked a media file in RootsMagic that resided anywhere other than below this “root”*.

Now, in TNG, I need to tell it where this “root” is. Go to Admin Home, Setup, Import Settings.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”large” overlay_style=”” image_id=”448″ lightbox_title=”TNG Import Settings”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]*See that highlighted item at the bottom of the screen shot. You can include multiple folders if your media in RM comes from more than one “root”. Just separate them by a comma, no spaces, and end them with a backslash “\”. For example: “D:\Dropbox\_FamilyHistory\Surname\,C:\users\calvin\photos\”

Remember, I’m showing you how I have things set up for me. It will be different for you, but hopefully showing these examples will help you configure things as needed.

Now that you have set this up, when you import your GEDCOM, the file: D:\Dropbox\_FamilyHistory\Surnames\Britt\Census\Britt_Leroy_b1811_Census_1860_01-h.jpg will need to be uploaded to my TNG website as: /public_html/familytree/photos/Britt/Census/Britt_Leroy_b1811_Census_1860_01-h.jpg. That will be the reference in the TNG database.

Uploading Media Files to TNG

There are multiple ways to upload your media files to TNG. I prefer to use FileZilla to upload them.

FTP Utility

I use FileZilla, but you can use any FTP utility. You simply connect to your website, navigate to the appropriate target folder, which for me is /public_html/familytree/photos. Then you navigate to the matching folder on your local computer and upload files as needed. I keep a little “to do” list of media that I’ve added to RootsMagic so that when I do my next GEDCOM, I know which files need to be uploaded.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”medium_large” overlay_style=”” image_id=”449″ lightbox_title=”FileZilla Uploading Media”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

TNG – Media, Upload

Admin Home, Media, Upload

Note: This method will generate the thumbnail as part of the process.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”medium_large” overlay_style=”” image_id=”450″ lightbox_title=”TNG Media Upload”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

TNG – Select a Person, Edit, Add Media

Note: This method will generate the thumbnail as part of the process.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”medium_large” overlay_style=”” image_id=”451″ lightbox_title=”TNG, Edit Person, Add Media”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

Media – Generate Thumbnails

If you uploaded your media using an FTP utility like FileZilla, you will need to generate thumbnails for these new images. You should do this AFTER importing your GEDCOM.

Admin Home, Media, Thumbnails, Generate

Note: If your images are too large, it won’t be able to generate a thumbnail. I’ve found that if my images are no more than about 1920 pixels in width or length, usually this isn’t a problem. IrfanView has a nice feature to reduce a batch of files at once.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”medium_large” overlay_style=”” image_id=”452″ lightbox_title=”TNG, Media, Generate Thumbnails”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

TNG – Places – Set Place Level

When your GEDCOM includes places that are new to TNG, you’ll need to manually set their “place level”. This isn’t critical. If you don’t bother, the maps will show pink pins indicating that the place level is undefined.

Go to Admin Home, Places, do a search for all places missing a place level. Edit each one and choose the appropriate place level, such as “City/Town”, “County”, “State”, etc.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”medium_large” overlay_style=”” image_id=”456″ lightbox_title=”TNG, Place Level”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]

MySQL Workbench – Set Media to Open in New Window (optional)

Okay, call me picky, but I like the option turned on for my media to open in a new window. This essentially means that when the user clicks on the thumbnail, the image opens in a new browser tab. You can do this from TNG by editing the media and setting this option.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vcex_image lightbox=”true” img_size=”medium_large” overlay_style=”” image_id=”457″ lightbox_title=”TNG, Edit Media, Open in new window”][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]I didn’t want to do this for each image that I upload, so I execute an UPDATE statement in my TNG MySQL database. You’ll want to download something like MySQL Workbench so that you can connect to your server and query your TNG database. Below is the UPDATE statement that I use.[/vc_column_text][vc_raw_html]JTNDcHJlJTNFJTBBc2V0JTIwc3FsX3NhZmVfdXBkYXRlcyUzRDAlM0IlMEF1cGRhdGUlMjAlN0JkYXRhYmFzZV9uYW1lX2hlcmUlN0QudG5nX21lZGlhJTIwc2V0JTIwbmV3d2luZG93JTIwJTNEJTIwMSUyMHdoZXJlJTIwbmV3d2luZG93JTIwaXMlMjBudWxsJTIwb3IlMjBuZXd3aW5kb3clMjAlM0QlMjAwJTNCJTBBc2V0JTIwc3FsX3NhZmVfdXBkYXRlcyUzRDElM0IlMEElM0MlMkZwcmUlM0U=[/vc_raw_html][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]


If you made it this far, you’re a genealogy and techy nerd. ha ha. Just kidding. Good job! I hope this helps someone. I absolutely love both of these programs and I honestly think that TNG is just a fantastic way to share your genealogy research online. I realize that there a many other ways to do this, but this method suits me. Good luck and feel free to comment and share your experiences with others.[/vc_column_text][/vc_column][/vc_row]