That sounds like a simple, elegant solution, but there seems to be some error in the code. This is what I tried:
Code: Select all
<!-- IF /phpbb/images/headers/{TOPIC_TITLE}.png --><img src="/phpbb/images/headers/{TOPIC_TITLE}.png" alt="{TOPIC_TITLE}" /><!-- ELSE --> <img src="/phpbb/images/headers/default.png" alt="default header" /><!-- ENDIF -->
Then I purged the cache, reloaded the forum index, and got a blank page with this message:
Code: Select all
Parse error: syntax error, unexpected '/' in /phpbb/cache/tpl_nebulae_overall_header.html.php on line 607
Any ideas on what went wrong? Or is the code you gave above just an example, as you say, and not ready to be tried out at all? I am an absolute beginner in this sort of thing, as you can doubtless tell.