humanmade / aws-rekognition

A lightweight plugin to add keywords to WordPress image uploads via automatic feature detection. Requires S3 Uploads.
57 stars 6 forks source link

When no labels found the attachment field shows an HTML input #9

Closed roborourke closed 5 years ago

roborourke commented 5 years ago

In the attachments fields where the labels are displayed if none are found an empty string is returned. This causes WP to output a text input as a fallback which is super helpful!

Screenshot 2019-05-09 17 59 09

Suggest replacing with a spinner and the text "analysing..." if nothing is returned and no error recorded.