Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-11-22 03:08:19

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Using article_images as a css background image

Has anyone done this?

I can get it to display – but it outputs the height, width & alt attributes which breaks the style sheet :(

Offline

#2 2008-11-22 04:37:24

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Using article_images as a css background image

I haven’t tried this, but I think, upm_image combined with a custom output form should do the trick.

Check out its <txp:upm_article_image /> tag.

Offline

#3 2008-11-22 08:01:25

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Using article_images as a css background image

Perfect masa – it worked perfect – thankyou (and thanks Mary)

You know – the wierd thing is, I have used this plugin many times… but never in that capacity so it didn’t even cross my mind to check it again :)

Offline

Board footer

Powered by FluxBB