I did a combination of this hack, plus zendiver's
modification, and TOZ's
hack.
Code:
<!-- Photo Gallery Link Start -->
<if condition="$ppphotosinpostbit['count']"><div class="info"><a href="http://www.campwidows.com/forums/photopost/showgallery.php?$session[sessionurl]ppuser=$post[userid]&cat=500"><img class="inlineimg" src="http://www.campwidows.com/images/camera.gif" alt="View $post[username]'s Gallery" width="21" height="18" border="0" title="View $post[username]'s Gallery" /></a><strong>$trackpadspppbit</strong></div></if>
<!-- Photo Gallery Link End -->
This creates a clickable link to the member's gallery when you click the camera.