Automatically resize larger images to show in user interface