set max resolution for slider image for auto-scaling