nl_tokens: If a thumbnail exists return it . Otherwise return the base image .
pl_tokens: function ( image ) { const imageName = path . join ( 'images' , image ) const thumbName = path . join ( 'images' , ` ${ image } ` ) const thumbPath = path . <mask> ( destination , thumbName ) if ( fs . existsSync ( thumbPath ) ) return thumbName return imageName }