There is the same question here for the text, it works fine, but it doesn't work for \includgraphics, how to use the same for the figure?
\documentclass{beamer}
\usepackage{lipsum}
\begin{document}
\begin{frame}
\tiny \lipsum[1-1]
\centering{\includegraphics[width=.3\textwidth]{example-image}}
\lipsum[1-1]
\end{frame}
\begin{frame}
\tiny \lipsum[1-1]
\begingroup\centering\includegraphics[width=.3\textwidth]{example-image}\endgroup
\lipsum[1-1]
\end{frame}
\end{document}

\includegraphicsyou would center an image in exactly the same way as you would center anX– David Carlisle Mar 24 '24 at 12:33