ericmerl
Forum Replies Created
-
Glad I could help!
Also, thanks for your work on this plugin. It’s been very easy to use and a great addition to the website I’m working on.
That’s great, I’m glad you could get it to work out.
I was running into the same issue and came up with a solution that works for my albums.
You’ll need to edit three lines of code in the class-PicasaAPI.php file. All three lines of code are in the get_pagination() function, specifically lines 427, 438, and 443 (these are the lines that generate the links for the previous, next, and page number buttons).
Here’s the new lines of code:
Line 427:
$html[] = "<li><a href=\"?album_id=".$album_id."&albumName='".$album_name."'&page=".$previous."\">Previous</a></li>";Line 438:
$html[] = "<a href=\"?album_id=".$album_id."&albumName='".$album_name."'&page=".$i."\">".$i."</a></li>\n";Line 443:
$html[] = "<li><a href=\"?album_id=".$album_id."&albumName='".$album_name."'&page=".$next."\">Next</a></li>";Feel free to visit my photo website (ericandbeth.us/gallery/photos/) to see the buttons working correctly.