Consider using hook_page_alter() or an alternative non-code approach such as Panels or Display Suite.<br clear="all"><div><br></div><font color="#333333">Carl Wiedemann</font><div><div><font color="#666666">Website design &amp; development consulting | <a href="http://c4rl.ws" target="_blank">c4rl.ws</a></font></div>
<div><font color="#666666"><a href="mailto:carl.wiedemann@gmail.com" target="_blank">carl.wiedemann@gmail.com</a> | skype: c4rlww</font></div></div><br>
<br><br><div class="gmail_quote">On Mon, May 28, 2012 at 5:36 PM, Jeff Greenberg <span dir="ltr">&lt;<a href="mailto:listmail.ayendesigns@gmail.com" target="_blank">listmail.ayendesigns@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF"><div>I have two isdues doing that. If I print from the preprocess or process function, the image appears but its html appears before the section tag for that region instead of inside it. </div>
<div><br></div><div>Also, if I add the themed image variable to $vars, it isn&#39;t available in the page template. <br><br>Sent from my iPhone</div><div><br>On May 28, 2012, at 1:04 PM, Carl Wiedemann &lt;<a href="mailto:carl.wiedemann@gmail.com" target="_blank">carl.wiedemann@gmail.com</a>&gt; wrote:<br>
<br></div><div></div><blockquote type="cite"><div>Render arrays are very specific, so you&#39;d likely have to add it via $page[&#39;some_key&#39;][&#39;#markup&#39;] =&gt; $output;<div><br></div><div>I&#39;d recommend doing these things in the preprocess function, not the process function. Preprocess is generally better understood and has more historic precedence.</div>

<div><br></div><div>Unless you have an explicit reason to use render(), I don&#39;t see any harm in creating your own variables in the preprocessor and printing them directly.<br clear="all"><div><br></div><font color="#333333">Carl Wiedemann</font><div>

<div><font color="#666666">Website design &amp; development consulting | <a href="http://c4rl.ws" target="_blank">c4rl.ws</a></font></div><div><font color="#666666"><a href="mailto:carl.wiedemann@gmail.com" target="_blank">carl.wiedemann@gmail.com</a> | skype: c4rlww</font></div>

</div><br>
<br><br><div class="gmail_quote">On Mon, May 28, 2012 at 10:46 AM, Jeff Greenberg <span dir="ltr">&lt;<a href="mailto:listmail.ayendesigns@gmail.com" target="_blank">listmail.ayendesigns@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am displaying a large image in a front-page region. Currently I hook process_region in template.php, set a variable = theme(&#39;image&#39;), and print it. <div>

<br></div><div>I&#39;m thinking that rather than printing it from the hook, I&#39;d rather add it to $page[my_region_name] and let it get printed when the template prints render[my_region_name]. </div>
<div><br></div><div>Where do I add it, or what do I call to add it?  I tried doing things in the hook like $vars[page][my_region_name][content][] = $my_themed_image, but that doesn&#39;t work.</div>
<br>_______________________________________________<br>
themes mailing list<br>
<a href="mailto:themes@drupal.org" target="_blank">themes@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/themes" target="_blank">http://lists.drupal.org/mailman/listinfo/themes</a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>themes mailing list</span><br><span><a href="mailto:themes@drupal.org" target="_blank">themes@drupal.org</a></span><br>
<span><a href="http://lists.drupal.org/mailman/listinfo/themes" target="_blank">http://lists.drupal.org/mailman/listinfo/themes</a></span><br></div></blockquote></div><br>_______________________________________________<br>

themes mailing list<br>
<a href="mailto:themes@drupal.org">themes@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/themes" target="_blank">http://lists.drupal.org/mailman/listinfo/themes</a><br>
<br></blockquote></div><br>