PDA

View Full Version : Images in table bg and category bg?


Red Shadow
12-24-2002, 03:51 AM
Well, what i do works on a v2.2.6, but anything higher i try it on doesnt work. wut i do is this...

#000000" background="{imagesfolder}/tablebg.gif"

and same for category bg. am i doing something wrong?

filburt1
12-24-2002, 02:46 PM
Get rid of the trailing quote.

Red Shadow
12-24-2002, 03:25 PM
wut trailing quote? the one after the hex? cuz i tried that and it just made it a nasty color.

filburt1
12-24-2002, 04:01 PM
Trailing means end or last.

Red Shadow
12-24-2002, 08:13 PM
hm....tried that and it didnt work

Red Shadow
12-24-2002, 08:24 PM
nevermind i got it.

instead of using "{imagesfolder}/bevel.jpg" i did "images/bevel.jpg"

Tony G
12-25-2002, 07:01 AM
Thats weird, how come {imagesfolder} didn't work for you?

Eh..

Red Shadow
12-25-2002, 04:12 PM
hm...i dunno. good thing i figured it out tho, it was making me mad

A:\
12-26-2002, 12:12 AM
I believe it should be #FFFFFF" background="{imagesfolder}/catbg.gif"

This is what I use and it works for me.

filburt1
12-26-2002, 12:22 AM
There shouldn't be a trailing quote. Look at the code vB uses in the templates and it should become obvious why this trick works.

Red Shadow
12-26-2002, 04:35 PM
well it works now, when i did images/bevel.gif it worked

filburt1
12-26-2002, 05:40 PM
I think why the {imagesfolder} keeps failing is because it's a replacement itself and a replacement inside a replacement doesn't get parsed.

Tony G
12-26-2002, 10:01 PM
Originally posted by Red Shadow
well it works now, when i did images/bevel.gif it worked

Like I said, it's not the best economical way of doing it. Using a variable is better because any changes to the imagespath are updated automatically.

It's a big hassle if everything was coded /images/.

filburt1
12-26-2002, 10:05 PM
Is anybody reading my posts in this thread...? :rolleyes: You're trying to use a replacement in a replacement...at my board even I have to use customimages/forumhome/image.gif and such to get things to work.

Tony G
12-26-2002, 10:08 PM
Yes, But I'm saying for other places filbie. Sorry. I understand.

filburt1
12-26-2002, 10:20 PM
Ah, okay. :)

Red Shadow
12-27-2002, 02:58 PM
Originally posted by Tony


Like I said, it's not the best economical way of doing it. Using a variable is better because any changes to the imagespath are updated automatically.

It's a big hassle if everything was coded /images/.

I didnt change everything from {imagesfolder} to /images/, all i did was do that in the Category Strip Background Color and the Table Heading Background Color.

autobilia
01-30-2003, 05:18 AM
What is a recommended size (pixels) for the category background?

Tony G
01-30-2003, 06:31 AM
From memory it's something X 41.