Update slack.rb

add supporting of images into slack.