<Media>

The <Media> option is used to add or update any number of media images. The <Id> option can be used as the <MediaId> in <Pages> or added to the <FeaturedImages> when setting up a Blog. The media image can also be displayed in page content 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 with the next largest size.

Example 1

<Media>
  <Image>
    <Id>       M1                                  </Id>      
    <Title>    Typewriter                          </Title>   
    <Large>    https://c3.staticflickr.com/8/7416/28066454506_70cca2d522_b.jpg  </Large>   
    <Medium>   https://c3.staticflickr.com/8/7416/28066454506_70cca2d522_z.jpg  </Medium>  
    <Small>    https://c3.staticflickr.com/8/7416/28066454506_70cca2d522_n.jpg  </Small>  
    <Thumb>    https://c3.staticflickr.com/8/7416/28066454506_70cca2d522_q.jpg  </Thumb>   
    <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>    
  </Image>
</Media>

Example 2

<Media>
  <Image>
    <Id>     M1                                                </Id>      
    <Title>  Typewriter                                        </Title>   
    <Flickr> c3.staticflickr.com/8/7416/28066454506_70cca2d522 </Flickr>   
  </Image>
</Media>

Example 3

<Media>
  <Image>
    <Id>    M11       </Id>      
    <Title> A VW Bus  </Title>   
    <Imgur> MMcxidj   </Imgur>   
  </Image>
</Media>

Options

<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 small image.
<Thumb>
[ ]
An absolute or relative file path, or a URL to a thumbnail.
<Flickr>
[ ]
A shortcut used to set the <Large>, <Medium>, <Small> and <Thumb> values to point to the cloud service, https://flickr.com See example above.
<Imgur>
[ ]
A shortcut used to set the <Large>, <Medium>, <Small> and <Thumb> values to point to the cloud service, https://imgur.com See example above.
<Credit>
[ ]
A credit line. When used as a pages media image, the credit line will be displayed on the blog's index pages.
<Caption>
[ ]
A caption
<Place>
[ ]
A location
<Date>
[ ]
A date
<Note>
[ ]
A note
Comments