<Media>

The <Media> option is used to add or update any number of media images (Note the <Gallery> option when used overrides the <Media> option and provides a more powerful method for adding media). The record id can be used as the <MediaId> in <BlogPosts> or added to the <FeaturedImages> when setting up a <Blog>. The media image can also be displayed in the content of blog posts using Embedded References. Most fields are optional, only the record id and one of the file paths need to be defined. Any missing file paths will be automatically replaced the next largest size. All images will be displayed using FancyBox.

Many genealogy applications allow users to add local file paths for their images so that they can be displayed in those applications, however, local file paths need to be prepended with the file protocol scheme ( file:// ) before they can be viewed offline in a browser. The <Placeholders> option can be used to perform a global replace on image file paths. Providing a <Large> image file path here can also be used to override the GEDCOM record's path. To view images online in a browser, a URL must be used. File paths and URLs can only be linked when the they are recognizable as images. This means that the image name must end in a supported extension ( .jpg, .png, .gif, .bmp ). Cloud services that provide image links that do not end in one of these extensions will be treated as standard URLs.

Gigatrees:
<ForceThumbnails>[ true ] When this option is enabled, photos and images that do not specify a thumbnail path will use the photo or image as the thumbnail. Doing this for a large number of images can slow page loading. Disabling this option will display a default placeholder image as the thumbnail instead.
<Image> This tag indicates the start of a new media image.
<Id> [ ] A unique record id.
<Title> [ ] An image title
<Large> [ ] An absolute or relative file path, or a URL to a hi-res image.
<Medium> [ ] An absolute or relative file path, or a URL to a lo-res image.
<Small> [ ] An absolute or relative file path, or a URL to a thumbnail.
<Credit> [ ] A credit line. When used as a blog posts media image, the credit line will be displayed on the blogs index pages.
<Caption> [ ] A caption
<Place> [ ] A location
<Date> [ ] A date
<Note> [ ] A note
<Refs> [ ] A comma-delimited list on individual names or record ids to which this image should be attached as a profile image. Doing so will add the image to the Photo page and the individual's profile page.
<Private> [ false ] When enabled, the image will be excluded from the family tree when the <Privatize> option is enabled.
Example:
<Media>

<ForceThumbnails> false </ForceThumbnails>

<Image>
<Id> M1 </Id>
<Title> Typewriter </Title>
<Large> https://c3.staticflickr.com/8/7416/28066454506_70cca2d522_b.jpg </Large>
<Medium> </Medium>
<Small> https://c3.staticflickr.com/8/7416/28066454506_70cca2d522_q.jpg </Small>
<Credit> <![CDATA[ Photo courtesy of <a href="https://www.flickr.com/photos/freestocks/" target="blank">freestocks.org</a> ]]> </Credit>
<Caption> An old typewriter </Caption>
<Place> </Place>
<Date> </Date>
<Note> </Note>
<Refs> I1, Bob Builder </Refs>
<Private> </Private>
</Image>
</Media>