Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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.
Dozy P My attempt at music
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
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.
Dozy P My attempt at music
Offline