Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Images side by side

posts: 96

I know how to place images side by side using the "XXX|YYY" paramenter, but is it possible to have different desc values for each image? i have tried using the same | method but get the first lot of text under both images.

Any help would be appreciated.

Rod

posts: 1563 Germany

 Hi Rod,

maybe when you use a DIV plugin? Put two images in a div, which wraps the images and a text below together.

With Tiki 14 you could use DIV plugins with bootstrap classes.

See here: Plugin Div

Cheers
Torsten


posts: 3665 United States

You can certainly use a DIV, as Torsten suggested. And then float each image so they remain together.

If you want to use a single IMG, you need to use the desc="desc" paramter, and include the actual description with the file/image. See the https://doc.tiki.org/PluginImg" class="wiki wikinew text-danger tips">example, here. The description for each image comes from the "Comment" field of the attachement.

HTH,

- Rick  |  My Tiki BlogMy Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

posts: 96

Hi there Rick and Torsten.

Thanks for your help. The comment field method works well and i will use that meantime.

Using a DIV will take a bit more time for me to work out how to do but will do so in due course.

I am only just starting to get to grips with Bootstrap. I am using Tikiwiki V14.0

Regards,

Rod