Hey all when I am using the gallery for images the navigation at the bottom goes funny and does not work. also, it seems to display photos that do not exist if i have fewer photos than are allowed on the page. what's going on? would appreciate any help.
the code that is generated for the nav is:
<div id="NavigationBar">
<div id="Previous">
</div>
<div id="PageNumbers">
<span class="currentPage">1</span>
<a href="/silverstripe/property-0/?stage=Live&start=32" title="<% sprintf(_t('PAGENUMBER'),2) %>">2</a>
<a href="/silverstripe/property-0/?stage=Live&start=64" title="<% sprintf(_t('PAGENUMBER'),3) %>">3</a>
</div>
<div id="Next">
<a rel="nextPage" href="/silverstripe/property-0/?stage=Live&start=32" title="View the next page">Next ></a>
</div>
<div class="clear"><!-- --></div>
-----------
cheers
oh and here is a picture of what's happening attached. notice the nav pages when there shouldn't be any pages and also the empty images.