{{#if (or this.previewSrc this.payload.src)}} {{this.payload.alt}} {{#if this.isDraggedOver}}
{{t "koenig.img.Drop to replace image"}}
{{/if}} {{/if}} {{#if (or uploader.errors uploader.isUploading (not this.payload.src))}}
{{#if uploader.errors}} {{uploader.errors.firstObject.message}} {{/if}} {{#if this.isDraggedOver}} {{t "koenig.img.Drop it like it's hot 🔥"}} {{else if uploader.isUploading}} {{uploader.progressBar}} {{else if (not this.previewSrc this.payload.src)}} {{/if}}
{{/if}}
{{#if (or this.isSelected (clean-basic-html this.payload.caption))}} {{#if this.isEditingAlt}} {{else}} {{/if}} {{#if this.isSelected}} {{/if}} {{/if}} {{#if this.imageSelector}} {{component this.imageSelector searchTerm=this.payload.searchTerm select=(action "selectFromImageSelector") close=(action "closeImageSelector")}} {{/if}}