{{#if (or this.previewSrc this.payload.src)}} {{this.payload.alt}} {{#if this.isDraggedOver}}
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}} 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}}
{{#if this.isEditingLink}} {{/if}}