Alow users to delete uploaded images inside backend?

Use wp_delete_attachment

<?php wp_delete_attachment( $attachment_id ); ?>