Photo Organizer

Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/flyspray/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Normal
  • Reported Version 2.36
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Photo Organizer
Opened by Alexandra (mex3andme) - 2008-09-12

FS#381 - 'last X photos'

> 'last X photos' could easily be implemented as a wrapper in include/site.php, much like the site_display_random_photos() function already is.

This task does not depend on any other tasks.

Solomon Peachy (pizza)
Thursday, 02 October 2008, 01:54 GMT
Solving this generically is simple -- hand the photo display page a list of all images in the "result set" but then the problem is the forward/prev buttons; they need to pass the full set over so the subsequent page can re-use the set.

Another possibility is to abuse memcache some more and store a randomid={x,y,z} key/value pair, using that as an index, but due to the ephemeral nature of memcache, it's not reliable and memcache is optional anyway. So another trick is needed...

If I convert the next/prev buttons into "forms" I can pass additional options in the POST easily.
Solomon Peachy (pizza)
Thursday, 02 October 2008, 13:53 GMT
Or I can use the php session to cache a "full" set of results, and go from there...?

Loading...