Inline Images Shortcode

Displays images floated inline to the left or right of post and page text.

Shortcode:

[inlineimage]

Attributes:

path
Should have the value of the path to an image somewhere either on your server or elsewhere on the Internet.

link
If this value is set, this sets the URL if you want the image to have a ink to something when clicked.

newwindow
Can have the value "true" or "false" and is only applicable if the link value is set. If set to true, this will open the link URL value in a new browser window.

border
Can have the value "true" or "false". If set to true, this will put a border around the image. The appearance of the border depeneds on the settings in each individual theme.

orientation
Can have the values left and right. Specifying "left" will display the image inline on the left. Specifying "right" will display the image inline on the right.

class
Sets the "class" attribute of the image. This value is completely optional.

alt
Can have any value. This is the alt text that appears in a browser tooltip when a user mouses over the image

Examples:


To display an image inline left...

[inlineimage path="https://www.yourdomain.com/wp-content/uploads/2010/12/redpuddle.jpg" orientation="left" alt="red puddle"]

To display an image inline right...

[inlineimage path="https://www.yourdomain.com/wp-content/uploads/2010/12/redpuddle.jpg" orientation="right" alt="red puddle"]

To display an image inline right with a link and border...

[inlineimage path="https://www.yourdomain.com/wp-content/uploads/2010/12/redpuddle.jpg" link="https://www.9bitstudios.com" border="true" orientation="right" alt="red puddle"]
Back to Shortcodes »