I do a lot of slicing in Photoshop, and it's tedious to manually write an <img />
tag for each of them -- writing in the filename, checking height and width, writing the alt tags, etc.
I can use Photoshop to generate the HTML, but they usually muck it up by not producing XHTML, or by wrapping it in tables, and so forth. I'm trying to make my life easier than that.
So I'm wondering if anyone uses a script that automatically generates img tags based on the directory? Or if some IDE that I don't know about does this? I just want it to generate a bunch of tags like so:
<img src="{filename}" alt="" width="{width}" height="{height}" />