How to add height and width dimensions automatically to archive descriptions

How to add height and width dimensions automatically to archive descriptions