Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-19 23:24:18

jrgip
Member
Registered: 2006-04-19
Posts: 12

getting the image url from an article_image tag

I am trying to figure out how I can return the image url for an article in a way similar to the way a link path can be extracted from the permalink tag output by using a single tag insted of the container tag. Essentially I want use the image url in some inline css. How can I do this? Do I need to modify the php source to change the output of article_image?

Thanks for your help

Jon

Offline

#2 2006-04-19 23:42:41

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: getting the image url from an article_image tag

Hi jrgip,

Check this thread for ideas

Can be easily done using a custom field, but you can also try upm_image plugin, that has a <txp:upm_img_full_url /> tag.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2006-04-19 23:46:44

jrgip
Member
Registered: 2006-04-19
Posts: 12

Re: getting the image url from an article_image tag

Thank you so much!

Offline

Board footer

Powered by FluxBB