Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Topic closed
Cannot get caption in <upm_image>
I’m obviously missing something but I cannot coax a caption out of this plugin.
Here’s my article form:
<txp:upm_article_image />
<txp:upm_img_caption />
<h2><txp:title /></h2>
<p>By <txp:author link=“y” /></p>
<p><txp:body /></p>
I’ve tried a million different ways but no caption. Any love?
PS My images do have text entered on both lines
Last edited by amordecosmos (2006-11-27 00:07:14)
Offline
#2 2006-11-27 00:23:42
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Cannot get caption in <upm_image>
As the plugin documentation states:
Customizing Output
Supply the image id or name, and the form to be used. The form may be named anything, I’ve simply supplied a default name for ease-of-use.
The tags available to you from within this form are fairly self-explanatory. They will only work when the form is called by upm_image or upm_article_image.
<txp:upm_article_image form="img_caption" />
<h2><txp:title /></h2>
<p>By <txp:author link="y" /></p>
<p><txp:body /></p>
<txp:upm_img_caption /> <!-- in a form named "img_caption" -->
Offline
Re: Cannot get caption in <upm_image>
I have read those intructions one hundred times and never understood how to do it until now. THANK YOU. It now works.
For the record, what I did to get 1) an image 2) a caption 3) the article is make my article form look like this:
<txp:upm_article_image /><br>
<txp:upm_article_image form=“img_Caption” />
<h2><txp:title /></h2>
<p>By <txp:author link=“y” /></p>
<p><txp:body /></p>
Cheers and thanks, Mary.
Offline
Pages: 1
Topic closed