Update image size with html