Image Shortcode

Displays an image with no additional formatting. This does not really do anything different than adding a normal image in the WordPress editor. It's more for usage if you prefer the shortcode syntax over HTML and can be used as a shortcode in the sidebar or footer widget areas

Shortcode:

[image]

Attributes:

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

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.

class
Sets the "class" attribute of the image. This value is 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...

[image path="https://www.yourdomain.com/wp-content/uploads/2010/12/redpuddle.jpg" border="false" class="slickHoverPlus" alt="red puddle"]
Back to Shortcodes »