Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-25 16:45:57

MagnusBerg
Member
Registered: 2007-11-17
Posts: 12

<txp:article_image/ > I don't see any image :-(

Hi!

What can make the problem then I put a image ID number in the “Article image” field and the tag <txp:article_image/ > in the article but didn’t get any image? I can link in images with “p(img). !http://www.magnus.burgsvik.se/images/28.jpg!”

I have tested to used <txp:article_image/ > in formes as well but without success.

Offline

#2 2007-11-25 16:53:02

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

Re: <txp:article_image/ > I don't see any image :-(

Try <txp:article_image /> (you have the / in the wrong place in your example)


Dozy P My attempt at music

Offline

#3 2007-11-25 17:33:09

MagnusBerg
Member
Registered: 2007-11-17
Posts: 12

Re: <txp:article_image/ > I don't see any image :-(

Thanks for your answer but I wrote the tag correctly then I use it in TXP. Must be something else. Then I searched for a answer, some posts mentioned the htaccess-file.

Offline

#4 2007-11-25 18:51:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: <txp:article_image/ > I don't see any image :-(

Are you putting it to inside an article? Then textile will efect it, making it to useless to use. Try to use

notextile. <txp:article_image />

Or just put space before the tag, an use it on it’s own, new line.

Cheers!

Offline

#5 2007-11-25 19:43:42

MagnusBerg
Member
Registered: 2007-11-17
Posts: 12

Re: <txp:article_image/ > I don't see any image :-(

Thanks both of you for your help but…

I have realized that if I put a picture in with “p(img). !http://www.magnus.burgsvik.se/images/28.jpg!” it shows up in the article preview but…

If I put a picture in with <txp:article_image /> it doesn’t shows up in the article preview but… then I look at the page in the browser.

I feel so stupid but… isn’t it TXP who behaves stupid???

Offline

#6 2007-11-25 19:57:15

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: <txp:article_image/ > I don't see any image :-(

Place <txp:article_image /> in a form. It doesn’t make sense to use an article image in an article, since your could just use <txp:image id="28" /> or Textile.

Offline

#7 2007-11-25 20:08:29

MagnusBerg
Member
Registered: 2007-11-17
Posts: 12

Re: <txp:article_image/ > I don't see any image :-(

I had <txp:article_image /> in a form now and just write a ID number in the “Article image” field. It works good now then I learned that I couldn’t expect to see the picture in the article preview window.

Offline

Board footer

Powered by FluxBB