Comment from: gerardp

[image:123]
will insert the attached file having ID 123 as a responsive image (typically using the full width of the text column) with optional caption.
The inline [image:]
tag is a placeholder inserted in the content to be replaced by an image when the post is displayed. That image must be already uploaded to the server and attached to the post.
The tag itself can be inserted to the content at the current cursor position by clicking the green icon with a plus sign in the action column of the Item Images & Attachments Panel. It can also be manually typed in the content by following the required syntax.
[image:123]
generates a block element (<figure>...</figure>
) and cannot appear inside a paragraph. (b2evolution will automatically move it out of the paragraph).See also: [thumbnail:] Short Tag and [inline:] Short Tag (these tags can appear inside paragraphs).
[image:
Link ID :
Caption :.
Class Name(s) ]
Available in an upcoming release [image:
Link ID :
Caption [ :
HRef ] :.
Class Name(s) ]
TODO [image:
Link ID :
Caption [ :
Alt text ] [ :
HRef ] [ :
Size ] :.
Class Name(s) ]
TODO Several params are optional. You can either skip them by leaving them empty (::
) or you may skip them completely because the next param will be recognized by its specific content.
-
Use the default caption by not specifying anything here (empty param like ::
)
Not display any alt text by specifying -
.
it will be considered to be a class name (see below),http://...
or ((slug-name))
it will be considered to be a HRef (see below).rel="lightbox[p363660]
are added in order to display a Lightbox / Colorbox in most skins. href=
URL in 3 different ways:http://...
or https://...
((slug-name))
(())
: means : no link.small
, medium
, large
or default
(If omitted, the default is default
which uses the setting from the skin)[image:123]
[image:123:This is a Caption]
[image:234:-]
[image:345:-:.redborder]
[image:456:This is a Caption:.redborder.noinlinecaption]
.noinlinecaption
will hide the caption from under the image, but the caption will still display when the image is zoomed in colorbox..floatleft
allows your image to float left, if it smaller than the column width. This has been deprecated in favor of thumbnail-short-tag
(in b2evo 6.8+).floatright
allows your image to float right, if it smaller than the column width. This has been deprecated in favor of thumbnail-short-tag
(in b2evo 6.8+)These options will be available soon, see TODOs above.
Using b2evo 7.1.6 See https://forums.b2evolution.net/image-caption-how-to-add-links
for example of adding link to an image, not to the caption.
Further to that.
Although I don’t use the short image tag it would be useful to have the not just the option of a URL linked to the image but that any links in the caption would work. To that end I have made further comments on the post mentioned before this comment.
If I could make recommendations, it would be
[image:123:size (px or %)] [image:123:link]