Sub Menu
Links Menu
Online Users

In total there are 783 users online :: 2 registered, 0 hidden and 781 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

How to make image change depending on theme

General discussion of anything. Discuss a topic in and out of IntegraMOD

Moderator: Integra Moderator

How to make image change depending on theme

PostAuthor: Frost » Sat Apr 21, 2007 11:49 pm

Ok I have a new.. weird question...

I want to be able to change my signature divider depending on what theme it's currently switched on.

I have everything done where I can change the image/code/text whatever via my acp and I even got ctracker to hush about using html, and my db to quit whining about an image being inserted into it...

Now the last little problem is how to set the path to the image in the acp

I am using this code right now

<center><img></center>

The only problem with this, is on a dark theme the white divider shows up nice, but on one of my lighter themes with a white post bg, you can't see the image.

Is there a way to make it load the image from the /images directory of whatever theme is being used?

I've tried using { TEMPLATE } and a little bit of relative path.. still no luck

Any ideas?
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Return to General Discussion

Who is online

Registered users: Bing [Bot], Google [Bot]

cron