Welcome to Android Central! Which phone? Does this persist after a reboot? Go to Settings>Apps, select Gallery, then Storage, then Clear Cache/Clear Data. Now open it again -- does it still crash? If not, wait a few seconds for it to rebuild the gallery database and see if the photos show up normally.