added image size upload for compatibility with server upload