worked out image sending