An ajax http request terminated abnormally during picture upload

Warning message

JQuery Cycle must be installed in order to run the slideshow. Please go to Status Report for instructions.

This error occurs usually during a file upload and when you try to check the Drupal logs you will find error something like this -
"PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 2: INSERT INTO {file_managed}."

Usually if you remove the white spaces from your filename which you are uploading will solve this error . So for example if you have a filename like "tech rappers.jpg" then try changing the filename to "techrappers.jpg" or tech-rappers.jpg" will solve this error.

Alternatively, you can use the below module also :