The size of the telescope’s field of view, which you’ll find on models with small focal ratios, makes a bigger difference for photographing galaxies than the telescope’s overall size. A wide field of view makes it easier to track and find deep-sky objects like galaxies and nebulas. Having said that, a telescope with an eight-inch or higher aperture will help you see and photograph galaxies better, too.