Hide image gallery on front page

Hi there, I know this is a general topic, but I hope to be able to get some help here because I'm at my wits end.

I want to be able to change my blog's front page from displaying all content to just the excerpt.

I was able to do that, with one exception. The image gallery of each post seems to be showing no matter what I do.

Is there a function in Wordpress that I can add so that the gallery do not show when it is on the front page?

Thanks so much.