Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-05-09 12:50:31

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Article Image

Hi!
Maybe someone can help me understand, how to get only image link or ID, of <txp:article_image />, I dont need that <img …. /> staff.

Thanks!

Offline

#2 2012-05-09 12:53:44

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,948
Website GitHub

Re: Article Image

elwins wrote:

image link or ID, of <txp:article_image />, I dont need that <img …. /> staff.

Requires a small cheat:

<txp:custom_field name="article_image" />

The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2012-05-09 12:56:18

elwins
Member
From: Latvia
Registered: 2011-08-29
Posts: 80

Re: Article Image

Works perfectly! Thanks! :)

Offline

Board footer

Powered by FluxBB