Quote:
Originally Posted by Magnusson2u
Cool!
So you mean do this (I really know nothing)?
Code:
<if condition="$post[field26]"><img src="images/flags/$post[field26].gif"></if>
and make it:
<alt="$post[field26]"><img src="images/flags/$post[field26].gif"></if>
I know it's probably wrong, but it didn't work none the less.
Thanks DJ.
|
Heheh, not exactly. You see
alt is something that all
<img> tags are supposed to have anyway, even if there's nothing in the quotation marks. It would look like this:
<img src="images/flags/$post[fieldXX].gif"
alt="$post[fieldXX]" />