Right image size for each device
Refactoring