Resize images to 400px width
Set popup size to fit 400px images and autoPan at popup