Verify if the image is less than 65 kb and if the connection is open