added image uploading to flash cards