I have been trying to create a page which is separated into six parts, and then add a figure to each of the sections. Each picture must be centered both horizontally and vertically and must be scalable (within its borders). See figure for what is needed.
So far I have tried with both minipage and tables, but whenever I try to center the pictures it doesn't work. I'm using Overleaf.
This is the closest I have come so far:
\documentclass{article}
\renewcommand*{\arraystretch}{2}
\usepackage[landscape, paperwidth=15cm, paperheight=30cm, margin=0mm]{geometry}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\newcommand\Block[2]{%
\setlength\fboxsep{0pt}\setlength\fboxrule{0.1pt}% delete
\fbox{% delete
\begin{minipage}[c][.5\textheight][t]{0.333333\textwidth}
#1\par #2
\end{minipage}%
}% delete
}
\begin{document}
\noindent
\Block{\includegraphics[scale=0.5]{images/download.jpg}}{}%
\Block{text}{caption}%
\Block{text}{caption}%
\par\nointerlineskip\noindent
\Block{text}{caption}%
\Block{text}{caption}%
\Block{text}{caption}
\end{document}

