The image upload broke because formData.append() was being called in the async callback of use:enhance, which runs AFTER the form submission. Moved the append call to the outer function which runs BEFORE submission. Also cleaned up debug console.log statements from CardAdd.svelte.