Cache images

close #25