Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-15 16:54:20

cpk
Member
Registered: 2005-08-07
Posts: 62

How do I output article_image source URL only?

I am putting together a photo gallery site and am experimenting with using article images as CSS backgrounds but I am unable to find a way to output only the source URL for the images rather than having them output normally within an html image tag with all the attributes. I need to maintain the context of an image related to an article, so using images directly from the images tab won’t work.

Do I need to find the TxP article_image php code and find/use PHP directly within my page templates or forms or is there a plug-in that does what I need?

Offline

#2 2008-01-15 17:03:38

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How do I output article_image source URL only?

upm_image can do that.

Offline

Board footer

Powered by FluxBB