rework automatic scaled image selection