fix get photo max dimensions in addSlideFromTemplate