Is it possible to switch out images based on what stylesheet is being used on the page?
For example, I have a normal and a nightview stylesheet which users can switch between. Although I'm guessing the solution might be with CSS, here's my pseudocode attempt in PHP:
$css = "/.css"
if (css=normal.css){
echo "<img src='1.1.1.jpg'>";
}
if (css=nightview.css){
echo "<img src='1.1.1i.jpg'>";
}
Any tips on how to make this happen?