added image min and little documentation