Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-12-10 20:31:29

pierlu
Member
Registered: 2014-08-12
Posts: 153

Insert multiple images in article

I would like to insert multiple images in an article. What is the best solution?

Offline

#2 2014-12-10 21:39:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,270
Website GitHub

Re: Insert multiple images in article

pierlu wrote #286406:

I would like to insert multiple images in an article. What is the best solution?

That’s a bit vague. Do you mean inside the body of an article (within the article flow), or to attach multiple pics to an article so they can be displayed by the template?

For the former case, you can use smd_macro. There are a few excellent examples on the forum thread of gallery-style tags that people have used.

For the latter, you can use any number of image helper plugins such as abl_droploader to drag and drop images on an article and have it put the IDs in the Article Image field for your template to display using the txp:images tag.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB