On 4/5/07, <b class="gmail_sendername">Deb Lewis</b> <<a href="mailto:djlewis@acm.org">djlewis@acm.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Another approach to img ref mapping: install a custom masterview directive<br>impl which is registered as a global directive to be applied to *all* <img><br>tags in your templates and handles src ref transformations. This is
<br>actually what I do since I don't find the rails image helper fcn to be<br>useful; my templates already have the necessary ref and my directive does<br>some other mappings that I find useful on <img> elements.
<br><br>(I can post that if people are interested, it's really easy to create this<br>sort of directive now with the reworked directive infrastructure of the Nov.<br>0.3 release)<br><br></blockquote></div><br><br>I think this would be a nice example to have in our examples folder, with some info in the comments about what is specifically does.
<br><br>Jeff<br>