Sample project for switching image resolutions based on screen size