WordPress: Add uploaded image to the media library

WordPress: Add uploaded image to the media library