That's an interesting solution but couldn't you just resize a 1px grey GIF with the width and height attributes to act as a placeholder?  You could also add the dimensions to an ALT and TITLE attributes so they are displayed when you mouse over it.