Link to home
Start Free TrialLog in
Avatar of pmsguy
pmsguy

asked on

CSS selector class to use an alternate image if another does not exist

I need the CSS selector class to check if an image exists, if it does NOT then use another image.

For example, if the image in path /images/SPANISH/submit.png exists then use /images/spanish/submit.png else use /images/ENGLISH/submit.png

Code base is PHP, Apache
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Since your question seems to be related to a multi-language site, maybe you can consider interesting read this article:
https://www.experts-exchange.com/A_3674.html about "How To Implement a multi-language site/application".
Cheers
Have you solved your problem?

Regards
Avatar of pmsguy
pmsguy

ASKER

I am sure there is some dynamic CSS I can use to solve this issue