Consider following code:
\documentclass[a4paper]{article}
\usepackage[table]{xcolor}
\usepackage{graphicx}
\paperheight297mm
\paperwidth210mm
\textheight297mm
\textwidth180mm
\topmargin-25.4mm
\voffset0in
\oddsidemargin-17.5mm
\evensidemargin-17.5mm
\hoffset0in
\marginparsep0in
\marginparwidth0in
\headheight0in
\headsep0in
\begin{document}
\rowcolors{1}{green}{pink}
\begin{table}
\begin{tabular}{p{60mm} p{60mm} p{60mm}}
\includegraphics[height=40mm]{test.png} & 2 & 3 \\[50.8mm]
\includegraphics[height=40mm]{test.png} & 2 & 3 \\[50.8mm]
\includegraphics[height=40mm]{test.png} & 2 & 3 \\[50.8mm]
\includegraphics[height=40mm]{test.png} & 2 & 3 \\[50.8mm]
\includegraphics[height=40mm]{test.png} & 2 & 3 \\[50.8mm]
\end{tabular}
\end{table}
\end{document}
The images are changing the height of the cells. How can I prevent this and how can I vertically center the images?
\documentclass[a4paper]{article}
\usepackage[table]{xcolor}
\usepackage{calc}
\usepackage[top=0pt,bottom=0pt,textwidth=180mm]{geometry}
\begin{document}
\rowcolors{1}{green}{pink}
\begin{table}
\begin{tabular}{*{3}{p{60mm-2\tabcolsep}}}
\raisebox{-.5\height}{\includegraphics[height=40mm,width=50mm]{logo}} & 2 & 3 \\
\end{tabular}
\end{table}
\end{document}
Your code ends in an error:
! Undefined control sequence.<argument>
\includegraphics[height=40mm,width=50mm]{logo} ...udegraphics[height=40mm,width=50mm]{logo}}