Send images function is working