Added image resource class.