<br><br><div class="gmail_quote"><br><br>Hi all , sorry for my English.<br>how to add &lt;previous as previous image, and next&gt; as next image.<br>I want to this line from uc_product_image:&nbsp;&nbsp;&nbsp; $output .= theme(&#39;imagecache&#39;, &#39;_original&#39;, $first[&#39;filepath&#39;], $first[&#39;alt&#39;], $first[&#39;title&#39;]);<br>

<br>function theme_custom_pager($nav_array, $node, $pager) {<br>&nbsp; drupal_add_css(drupal_get_path(&#39;module&#39;, &#39;custom_pagers&#39;) .&#39;/custom_pagers.css&#39;);<br>&nbsp;&nbsp; $links = array();<br>&nbsp;&nbsp; $links[&#39;custom_pager_prev&#39;] = array(<br>

&nbsp;&nbsp; &#39;title&#39;=&gt; t(&#39;&lt; previous&#39;),<br>&nbsp;&nbsp; &#39;href&#39; =&gt; !empty($nav_array[&#39;prev&#39;]) ? &#39;node/&#39;. $nav_array[&#39;prev&#39;] : NULL,&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; );<br>&nbsp;&nbsp; $links[&#39;custom_pager_index&#39;] = array(<br>

&nbsp;&nbsp;&nbsp; &#39;title&#39; =&gt; ($nav_array[&#39;current_index&#39;] + 1) .&#39; of &#39;. count($nav_array[&#39;full_list&#39;]),<br>&nbsp;<br>&nbsp; );<br>&nbsp; $links[&#39;custom_pager_next&#39;] = array(&nbsp; <br>&nbsp;&nbsp;&nbsp; &#39;title&#39; =&gt; t(&#39;next &gt;&#39;),<br>

&nbsp;&nbsp;&nbsp; &#39;href&#39; =&gt; !empty($nav_array[&#39;next&#39;]) ? &#39;node/&#39;. $nav_array[&#39;next&#39;] : NULL,<br>&nbsp; );<br>&nbsp; <br>&nbsp; return theme(&#39;links&#39;, $links, array(&#39;class&#39; =&gt; &quot;custom-pager custom-pager-$pager-&gt;pid custom-pager-$node-&gt;type&quot;));<br>

}<br><br><br><br>Or any solution how to check if in taxonomy path or node/ path. any help will be appreciated<br>TNX<br><font color="#888888">Ruslan.<br>
</font></div><br>