Issue 4: Add pagination
Status:  Fixed
Owner: ----
Closed:  May 2008
Reported by amll...@gmail.com, May 9, 2008
What steps will reproduce the problem?
1. click "your photos on google"
2. select a gallery that has many photos (mine was 200+)


What is the expected output? What do you see instead?
should see thumbnails. I instead get error:


Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 80 bytes) in
/home/iamandre/public_html/blog/wp-content/plugins/_zend_gdata/Zend/Gdata/Media/Extension/MediaContent.php
on line 119

The line number changes each time I try (not always line 119).

What version of the product are you using? On what operating system?
unix webserver (hostmonster.com), winxp desktop, wp 2.5, goldengate 1.2

Please provide any additional information below.
One I select the large gallery that generates the issue, I have no way of
getting back and selecting a different gallery. Its now stuck like this! I
tried deactiving and re activating but had no luck.
 
May 12, 2008
Project Member #1 xir...@gmail.com
Ah, I see the problem here. I forgot to add in pagination for the album view and it
looks like by default the API will fetch back up to 1000 photos at a time. Something
like 25 per page seems more reasonable.
Summary: Add pagination
Status: Accepted
Labels: -Type-Defect Type-Enhancement
May 12, 2008
Project Member #2 xir...@gmail.com
(No comment was entered for this change.)
Labels: -Priority-Medium Priority-High
May 12, 2008
Project Member #3 xir...@gmail.com
Okay, just release 1.3 which will limit photo results to 25 per page, which should
keep the Zend Framework from eating up all of your PHP process' memory. 

You can fiddle with the default page size in Settings -> GoldenGate Options to make
it bigger (50, 100, whatever). 

Granted I should probably still make the Previous / Next links a bit faster so you
can skip to a later page or have it remember what page you left off on. It's a bit
tricky though. Let me know what you think of the fix!
Status: Fixed