Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-02 13:49:03

flatazor
New Member
Registered: 2007-05-02
Posts: 5

Display "article_image" as a page background

Hi there,

Just wondering if there is an easy way to get the image path out of the <txp:article_image /> tag.

This tag currently outputs the whole html image tag, but I’m only interested in the actual image path, in order to change the page background according the the article image that has been set for each article.

I’m aware of the <txp:hak_article_image /> plugin (http://www.hakjoon.com/code/50/hak_article_image), but this doesn’t seem to do what I’m looking for

Thanks very much for your help.

o

Offline

#2 2007-05-02 13:57:45

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Display "article_image" as a page background

upm_image should do what you want. hak_article_image will eventually but it doesn’t at the moment.

Last edited by hakjoon (2007-05-02 13:58:15)


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB