Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-07 23:45:09

Tyson
New Member
From: Bellingham, WA
Registered: 2005-07-15
Posts: 3
Website

Totally new to Textpattern need help with css backgrond images

Ok so I’m building up my layout and I’m a little confused on how exactly you call on images that you upload through Textpattern. I uploaded all the images I need but from looking at the ftp the images were named by number. As of now I just am using the number name textpattern gave it to get the image to display but I know that can’t be the way everyone is doing it. I’m assuming the way it is done is by adding a textpattern tag for calling on the image in the images section.

So as of now I have my css like this:

body { background-image: url(/images/5.gif);
}

So is there a tag such as this that is used for this kind of thing?:

body { background-image: url( textpattern tag );
}

Any help would be greatly appreciated, thanks.

Last edited by Tyson (2005-10-07 23:46:36)

Offline

#2 2005-10-08 00:25:40

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Totally new to Textpattern need help with css backgrond images

I upload my graphics files via ftp which leaves the filenames intact.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#3 2005-10-08 01:57:46

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Totally new to Textpattern need help with css backgrond images

Tyson that is the correct way for the CSS. There are special TXP image tags you can use in page templates (Textpattern) or articles (Textile) which you can find next to your image names in the image listing page. There is also a full blown XHTML tag there. But for the CSS you’ve got it right (/images/22.gif) etc.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB