%----------------------------------------------------------------------

\documentclass[
	layoutmode=endpaper,
	% page size...
	blockwidth=240mm, blockheight=220mm,
	bleed=4mm,
	bindingoffset=5mm,
	% image block configuration...
	imageblockwidth=0.98, imageblockheight=0.98,
	imageblockoffsettop=-0.1,
	% misc...
	9pt,final,openany
]{photobook}


\begin{document} % - - - - - - - - - - - - - - - - - - - - - - - - - - -

% XXX ignores layoutmode=endpaper....
\ImagePageFill{}{DSC00403-2}

% XXX ignores layoutmode=endpaper....
\begin{page}
\begin{pagecell}
    \imagecell[fill]{}{DSC00403-2}
\end{pagecell}
\end{page}

% XXX for some reason this is not centered correctly but scaling seems
%       correct...
\begin{page}
    \imagecell[fill]{}{DSC00403-2}
\end{page}


%% XXX BUG: there is an offset (\bleed sized???) on the left...
%\begin{leftside}
%    %\begin{cliptocell}
%        %\imagecell[fill]{}{DSC00403-2}
%        \imagecell[fit]{}{DSC00403-2}
%    %\end{cliptocell}
%\end{leftside}
%
%\begin{rightside}
%    \begin{cliptocell}
%        %\imagecell[fill]{}{DSC00403-2}
%        \imagecell[fit]{}{DSC00403-2}
%    \end{cliptocell}
%\end{rightside}



\end{document} %-------------------------------------------------------
%                                                  vim:set ts=4 sw=4 :
