add clear images option and add thin to gemfile