WP-1880 corrected the preprocess function name, added preview image