added imageClass option