automatically create static images with phantomjs