Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-12-02 11:28:30

hunter3646
New Member
Registered: 2020-12-02
Posts: 2

How to add images in middle of the text in article.

Hello,
I am new to textpatten.I would like add images(using ID) in the middle of the text in an article instead at the starting of the image.How to add?

Offline

#2 2020-12-02 11:57:33

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: How to add images in middle of the text in article.

hunter3646 wrote #327203:

Hello,
I am new to textpatten.I would like add images(using ID) in the middle of the text in an article instead at the starting of the image.How to add?

Just put <txp:image id="#" /> where you want it, using the id of the image.

If you mean insert an image inline with text, then you can put <txp:image id="#" class="img-inline" /> and style .img-inline accordingly.


BB6 Band My band
Gud One My blog

Offline

#3 2020-12-03 12:09:43

hunter3646
New Member
Registered: 2020-12-02
Posts: 2

Re: How to add images in middle of the text in article.

zero wrote #327204:

Just put <txp:image id="#" /> where you want it, using the id of the image.

If you mean insert an image inline with text, then you can put <txp:image id="#" class="img-inline" /> and style .img-inline accordingly.

Thank you

Offline

#4 2020-12-03 12:40:27

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: How to add images in middle of the text in article.

You’re welcome. Welcome to Textpattern and the forum by the way. Please feel free to ask any questions. There are lots of good people here to help you take your first Textpattern steps and get up and running.


BB6 Band My band
Gud One My blog

Offline

Board footer

Powered by FluxBB