Want to get involved in developing SMF, then why not lend a hand on our github!
a.width, a.height
What version of SMF are you using? and of PHP?Regards!