How to get OS image