Get uploaded attachment width & height and attachment ID after upload them

Get uploaded attachment width & height and attachment ID after upload them