Function shortcode_image
Displays an image from the Media Manager. This is different than the WordPress-supplied [gallery] shortcode in the following manner: 1. Support for image size. 2. Look up image by slug instead of only ID.
The shortcode markup can look something like: [bpq_image slug="my-image" size="medium"]
Namespace: bpq
Link: http://codex.wordpress.org/Function_Reference/wp_get_attachment_image
Located at bpq.bridge/bpq.bridge.php
Link: http://codex.wordpress.org/Function_Reference/wp_get_attachment_image
Located at bpq.bridge/bpq.bridge.php
Parameters summary
array |
$atts |
Can be any of the following attributes: string $id The unique string that identifies the desired image; required. string $class Additional classes to be applied to the image; defaults to nothing string $size Can be any of the registerd image sizes; defaults to 'thumbnail'. string $url Address that will be navigated when the image is clicked; default is no link |
Return value summary
string
|
The expanded URL root |