How do you programmatically hide a field based on another field on a custom content type?
In your template, instead of rendering the entire content array, you can break it down to print each individual item separately.  Then, you could wrap the printing of the images in a statement that checks if the boolean value is true/false.

&lt;?php if ($content['field_boolean_hide_images'] === FALSE): ?&gt;
  &lt;?php print render($content['field_image']); ?&gt;
&lt;?php endif; ?&gt;


This is just an example and shouldn't be used verbatim.

Also, to create a template for your content type, it would be node--yourContentType.tpl.php rather than a page template override.