In the gallery, when click next or previous , it brings to the last or the first image not next or previous one.

Comments

eastcn’s picture

rc-4 fixes this problem, please download. Thanks

rimma’s picture

Thanks, Good job. the issue is fixed.
But I found the photo information block disappears and another small issue is that "previou" should be previous.

eastcn’s picture

Please clear the cache.
"previou" and the "next" different habits have different interpretations, you can in photos_imageview.tpl.php accordance with your preferences Revision.

   <div class="photo_link_pager">
    <?php if($image->links['pager']['prev_url']) { ?>
      <div class="photo-pager-left">
        <a href="<?php print $image->links['pager']['prev_url'];?>"><?php print t('« previou');?></a>
      </div>
    <?php } ?>
    <?php if($image->links['pager']['next_url']) { ?>
    <div class="photo-pager-right">
      <a href="<?php print $image->links['pager']['next_url'];?>"><?php print t('next »');?></a>
      </div>
    <?php } ?>
  </div>
nathaniel’s picture

Status: Active » Closed (works as designed)