Add image history command