I have built a custom content type that has a boolean field called 'Hide images'. There is also an images field that displays all images at the bottom of the node. I'd like to setup a way so that depending on the 'Hide images' field I can decide whether to display the images field. Is there a way to edit this via a template?
I saw in page--node--contenttype.tpl.php that I could render($page['content']); but I couldn't actually see how I could choose what content to display.