Embed images and videos in articles (text)

Some of the articles generators (like SCM) can automatically add embedded images and videos inside the articles. If you would like to manually embed images and/or videos in your articles, you can use the following syntax:

For images:

<img class=’alignleft’ style=’float:left;margin-right:10px;’ src=’html_link_to_image’ width=’295′ alt=’image title’/>

 

For Videos:

<div style=’text-align:center’><iframe width=’480′ height=’336′ src=’https://www.youtube.com/embed/video_code_here’ frameborder=’0′ allowfullscreen></iframe></div>

You can use spintax for the links to images/videos to insert random images/videos. You can spintax the entire html image/video code or just part of the html code (source link, size, style, class and so on)

Spintax Example 1 (partial html code)

<img class=’alignleft’ style=’float:left;margin-right:10px;’ src='{html_link_to_image1|html_link_to_image2|html_link_to_image3|html_link_to_image4}’ width=’295′ alt=’image title’/>

 

Spintax Example 2 (entire html code)

{<img class=’alignleft’ style=’float:left;margin-right:10px;’ src=’html_link_to_image’ width=’295′ alt=’image title’/>|<img class=’alignright’ style=’float:right;margin-right:10px;’ src=’html_link_to_image1’ width=’395′ alt=’image title’/>|<img class=’alignleft’ style=’float:left;margin-right:30px;’ src=’html_link_to_image2’ width=’95′ alt=’image title’/>}