Resize pictures with a button and slider.