Converting to Symfony image_tag()
Here is a quick and dirty regular expression to convert html img tags to Symfony image_tag() helper calls. I used it in NetBeans - you can run it in most regexp enabled editors. YMMV.
Search: <img src=”/images/([^”]*)” ([^>]*)>
Replace: <?php echo image_tag(‘$1’,’$2’); ?>
