PhpStorm brings Smarty 3 PHP Template Engine power to its users.
First of all it supports Smarty syntax, highlights keywords, automatically closes tags and enables autocompletion of Smarty tags in template files:
as well as useful quick-fixes. As shown on the screenshot below, the IDE offers you to adjust the image size to its original height.
Another very useful feature is the Structure view where you can overview and navigate through your template structure.