Set max width as well on gallery images