Channel Image?
Nick Moffitt
nick at zork.net
Thu Oct 26 01:49:28 EST 2006
Shane Graber:
> Is there a plan to add this to any of the Planet or Venus templates?
I used to have template logic to use the upstream image:
<TMPL_IF channel_face>
<a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><img class="face" src="face/<TMPL_VAR channel_face ESCAPE="HTML">" width="<TMPL_VAR channel_facewidth ESCAPE="HTML">" height="<TMPL_VAR channel_faceheight ESCAPE="HTML">" alt=""></a>
<TMPL_ELSE>
<TMPL_IF channel_image_url>
<img src="<TMPL_VAR channel_image_url>" class="face" alt="<TMPL_VAR channel_image_title>" />
</TMPL_IF>
</TMPL_IF>
I haven't worked this into my current venus install, but it used to work
great.
--
"These people program the way Victorians dress. Nick Moffitt
It takes two hours and three assistants to put on nick at teh.entar.net
your clothes, and you have to change before dinner.
But everything is modular." -- Miles Nordin, on PAM
More information about the devel
mailing list