as the title states, I've had trouble centering text vertically in a LaTeX table. Something that should be really simple; I can do it with only click in Word, and every answer I've found online is either extremely complicated, or doesn't work for me.
A lot of the questions are very very specific, but I've tried my best to simplify the question as much as possible.
\documentclass[12pt]{article}
\usepackage{graphicx} % For example picture
\begin{document}
\begin{table}[]
\centering
\begin{tabular}{|c|c|c|}
\hline
\textbf{1} & \textbf{2} & \textbf{3} \\ \hline
a & \includegraphics[width=0.15\linewidth]{example-image-a} & b \\ \hline
c & \includegraphics[width=0.15\linewidth]{example-image-b} & d \\ \hline
\end{tabular}
\end{table}
\end{document}
This prints a table like this:
I'd like the text in column 1 and 3 to be centered vertically - ideally also the picture (which borders the top of the cell), but I can do without it.
Thanks in advance!