Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
images uploaded within textpattern?
If I upload an image within text pattern how do i refer to it again from either a page template or when writing an article? This does sound a very stupid question possibly but I have tried everything and nothing seems to work. What is going wrong?
Offline
#2 2007-03-22 22:05:36
- NyteOwl
- Member
- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: images uploaded within textpattern?
IIRC
<img src=”<txp:site_url />/images/the_image.gif” />
or
<img src=”/images/the_image.gif” />
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
#3 2007-03-22 22:13:51
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: images uploaded within textpattern?
…but I have tried everything and nothing seems to work.
Could you be more specific?
Last edited by Mary (2007-03-22 22:15:51)
Offline
#4 2007-03-22 22:14:00
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: images uploaded within textpattern?
txp:image, e.g. <txp:image name="the_image.gif" />
.
Last edited by zem (2007-03-22 22:14:44)
Alex
Offline
Re: images uploaded within textpattern?
Thank you to you all. I tried all of the above and the only one that seems to work is:
txp:image, e.g. <txp:image name=“the_image.gif” />.
I had tried the ones nyte owl suggested and
within an article
but these don’t work at all.
Offline