Generic image class.