for those googling...
css is the solution
<div class="browser">photos to show here</div>
<div class="print">photos to print here</div>
then in a style sheet linked with media="all"
.browser { display:block; }
.print { display:none; }
then after in a style sheet linked with media="print"
.browser { display:none; }
.print { display:block; }