I’m a bit of a noob and I’ve set up an image gallery http://www.bhearn.com/index.php/portfolio/gallery-index.php
The thumbnail links are set to point back to the gallery-index template. Then the individual entry info is used to post the larger image
I’ve got a few problems with pagination. When I select a thumbnail on any page other than page one I get booted back to the first page. Any suggestions? I’ve also turned off dynamic in my gallery tag mainly because if I leave it on for some reason my gallery doesn’t work. Could this be the problem? Included below is a sample of my code. Any help would be greatly appreciated.
{exp:gallery:entries gallery="portfolio" columns="4" rows="3" dynamic="off" }
<table >
{entries}
{row_start}<tr>{/row_start}
{row}
<td>
[b]<a href="http://{id_path=portfolio/gallery-index}">_/phpthumb/phpThumb.php?src={image_url}&w=30&sx=50&sy=50&sw=250&sh=250&aoe=1_</a>[/b]
</td>
{/row}
{row_end}</tr>{/row_end}
{/entries}
</table>
<!--PAGINATION BEGINS-->
{paginate}
Page {current_page} of {total_pages} pages
{if previous_page}
<a href="http://{auto_path}">Previous Page</a>
{/if}
{if next_page}
<a href="http://{auto_path}">Next Page</a>
{/if}
{/paginate}
{/exp:gallery:entries}(exp:gallery:entries gallery="portfolio"}
[b]{image_url}[/b]
{/exp:gallery:entries}