install img package first