I've been building a family tree on Ancestry and I exported the GEDCOM file and import it into my webtrees site and then manually add my media to the records and link it to the right facts. That is all good... or so I thought.
I had planned to do this a bit at a time.. expand my tree on ancestry find articles etc.., then export the GEDCOM file again, and import it into my webtrees again.. thus having a new updated tree.
When i do this, I check off the option for Keep Media Objects. But if I do that and import the file, I always get an error like this:
SQLSTATE: Integrity constraint violation: 1062 Duplicate entry '1-O1' for key 'PRIMARY' (SQL: insert into `wt_media` (`m_id`, `m_file`, `m_gedcom`) values (O1, 1, 0 @O1@ OBJE 1 FILE 2 FORM jpg 3 TYPE image 3 _MTYPE document 3 _STYPE jpeg 3 _SIZE 50737 3 _WDTH 400 3 _HGHT 400 2 TITL
and then either my tree is damaged or only a partial import of data.
So the only way it seems that I can add more is to import from fresh and not check off the option to Keep Media Objects. Then I have to link all the media objects, which can be a pain if I have thousands of media files. Is there another/better way to do what I'm wanting, or is it best to just add everything in once I'm done with Ancestry? Which I don't think I ever will be lol :-)
The "keep media" option exists for a very specialised use. There are probably only 2 people who use it.
You need it if:
1) you are editing your data in two places at the same time - webtrees and a desktop application
2) you transfer your data back/forth between the two
3) your desktop software does not support media objects, and will delete them when it reads a GEDCOM file
4) you only add media in webtrees, and only add it to individuals - not to facts/events.