Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-03 18:18:41

stef25
Member
Registered: 2005-12-26
Posts: 88

article image, how to?

very basic question.

the popup box tells me to “place its URL or txp image id here”. what form is the image id in? when i go to the images tab, i dont see any id’s with my images. when i look in the db, each image does have an id, for example “4”. entering “4” doesnt work, nor does the full path: domain.com/dynamic/textpattern/images/4.jpg

in the template i added txp:article_image just below the content div. i also added “bla bla” in h2 tags to make sure i’m on the right page, and “bla bla” does appear. when i view source of the generated page, there is no trace of txp:article_image. no image shows!

any idea what i’m doing wrong?

Last edited by stef25 (2006-06-03 18:19:20)


I need someone to protect me from all the measures they take in order to protect me

Offline

#2 2006-06-03 20:42:14

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: article image, how to?

You have to place the txp:article_image in the form, not the page. You are likely using the default form. Use something like this:

<code><h2><txp:title /></h2>
<txp:body />
<txp:article_image /></code>

Offline

#3 2006-06-03 21:06:05

stef25
Member
Registered: 2005-12-26
Posts: 88

Re: article image, how to?

cool, thanks


I need someone to protect me from all the measures they take in order to protect me

Offline

Board footer

Powered by FluxBB