Title: Issue on profile / image pagination
Last modified: August 20, 2016

---

# Issue on profile / image pagination

 *  Resolved [julie92500](https://wordpress.org/support/users/julie92500/)
 * (@julie92500)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/issue-2/)
 * On my profile, the album has a lot of images.
 * after upgrading to WP 1.5 and BP 1.6.2 and you latest release, album is still
   working but pagination is gone and I’m not able to see the latests images on 
   my profile.
 * Rgds,
 * [http://wordpress.org/extend/plugins/bp-album/](http://wordpress.org/extend/plugins/bp-album/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [julie92500](https://wordpress.org/support/users/julie92500/)
 * (@julie92500)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/issue-2/#post-3323044)
 * I’ve partially resolved the issue by reactivating some code in bpa.template.tags.
   php :
 *     ```
       $this->pag_links = paginate_links( array(
                               'base' => $bp->displayed_user->domain . $bp->album->slug .'/'. $bp->album->pictures_slug .'/%_%',
                               'format' => '%#%',
                               'total' => ceil( (int) $this->total_picture_count / (int) $this->pag_per_page ),
                               'current' => (int) $this->pag_page,
                               'prev_text' => '&larr;',
                               'next_text' => '&rarr;',
                               'mid_size' => 1
                       ));
       ```
   
 * (this code was in comment).
 * After commented out the code, the pagination works again.
 * But, still have an issue : previously i got the last added photo on the first
   position of the first page. Now, i get it at the last position of the last page(
   reverse order).
 * Any idea ?
 *  Thread Starter [julie92500](https://wordpress.org/support/users/julie92500/)
 * (@julie92500)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/issue-2/#post-3323046)
 * have resolved the order issue
 * file bpa_classes.php in bp_album_default_query_args()
 * change $args[‘ordersort’]=’ASC’; to $args[‘ordersort’]=’DESC’;
 * Everything working as before the update.
 *  [oceanwidedesigns](https://wordpress.org/support/users/oceanwidedesigns/)
 * (@oceanwidedesigns)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/issue-2/#post-3323153)
 * Thanks Julie for your fix! I posted about this over in the plugin’s support forum
   at buddypress.org and haven’t heard back from the developers. You saved me a 
   ton of time from having to find it myself. So far it’s working again!
 *  Thread Starter [julie92500](https://wordpress.org/support/users/julie92500/)
 * (@julie92500)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/issue-2/#post-3323159)
 * 🙂
 *  [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/issue-2/#post-3323276)
 * Thankyou from me too – I was tearing my hair out trying to figure this out, especially
   as this code has now been removed completely from the latest version (the 1.8.5
   preview). How could the developers screw up something so basic?
 * Still, at least this plug-in doesn’t endlessly whitescreen me like BP Gallery
   Plus does.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Issue on profile / image pagination’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bp-album.svg)
 * [BuddyPress Album](https://wordpress.org/plugins/bp-album/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-album/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-album/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-album/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-album/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [ljmac](https://wordpress.org/support/users/ljmac/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/issue-2/#post-3323276)
 * Status: resolved