Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
custom fields as subsequent article image fields
Hi,
What would be the cleanest way of using custom fields to insert images into an article through the article form. Basically using custom fields as another article image field.
———————————————————————————————————————
I’ve tried this in the article form:
<txp:image id=”<txp:custom_field name=“thumb” />” />
and also just putting in <txp:image id=“11”/> into the custom field then put <txp:custom_field name=“thumb” /> into the article form.
—————————————————————————————————————————-
Neither method has worked for me yet.
Any suggestions?
-best
kevin
Last edited by kvnmcwebn (2009-04-19 11:32:26)
its a bad hen that wont scratch itself.
photogallery
Offline
Re: custom fields as subsequent article image fields
Kevin, your first example should work but you need single quotes around the custom_field tag so:-
<txp:image id='<txp:custom_field name="thumb" />' />
Last edited by thebombsite (2009-04-19 12:57:27)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: custom fields as subsequent article image fields
doh!
its a bad hen that wont scratch itself.
photogallery
Offline