Add basic image getting logic.