Automatically scale picture