Image Shortcode

[one type=”separate”]

Defaults

Below are the options that are available for this shortcode and their default values. A hash (#) indicates a required value.
'url' => '#',
'width' => '',
'height' => '',
'link' => '',
'align' => 'none', // none, alignleft, alignright, aligncenter
'top' => '', // Any positive or negative number
'left' => '',
'bottom' => '',
'right' => '',
'mtop' => '',
'mleft' => '',
'mbottom' => '',
'mright' => '',
'alt' => '',
'lightbox' => 'none', // none, image, video
'zoom' => '0' // 0, 1, 2, 3
'preload' => 'false' // false, true

And this is what you should insert into your posts and pages…
[[image " url="#" width="" height="" align="alignnone" link="" lightbox="none" alt="" zoom="0" preload="false" /]][/one]

Left Align Preloaded Image

[image url=”/wp-content/uploads/Book-Of-Eli.jpg” width=”500″ height=”300″ align=”alignleft” preload=”true” zoom=”1″]

[clear]

[[image url="/wp-content/uploads/Book-Of-Eli.jpg" width="500" height="300" align="alignleft" preload="true" zoom="1"]]

Right Aligned Image with Link

[image url=”/wp-content/uploads/Book-Of-Eli.jpg” width=”500″ height=”300″ align=”alignright” link=”http://www.google.com” zoom=”1″]

[clear]

[[image url="/wp-content/uploads/Book-Of-Eli.jpg" width="500" height="300" align="alignright" link="http://www.google.com" zoom="1"]]

Center Aligned Image with Lightbox Image Support

[image url=”/wp-content/uploads/Book-Of-Eli.jpg” width=”500″ height=”300″ align=”aligncenter” lightbox=”image” link=”http://quirkytravel.info/wp-content/uploads/Book-Of-Eli.jpg” zoom=”1″]

[clear]

[[image url="/wp-content/uploads/Book-Of-Eli.jpg" width="500" height="300" align="aligncenter" lightbox="image" link="http://quirkytravel.info/wp-content/uploads/Book-Of-Eli.jpg" zoom="1"]]

Right Aligned Image with Lightbox Video Support

[image url=”/wp-content/uploads/Book-Of-Eli.jpg” width=”500″ height=”300″ align=”alignright” lightbox=”video” link=”http://vimeo.com/8966274″ zoom=”1″]

[clear]

[[image url="/wp-content/uploads/Book-Of-Eli.jpg" width="500" height="300" align="alignright" lightbox="video" link="http://vimeo.com/8966274" zoom="1"]]

on October 11 • by

Comments are closed.