performance is really bad when a directory has lots (1000s) of pictures

Bug #952588 reported by Dustin Kirkland 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pictor (Ubuntu)
Fix Released
High
Dustin Kirkland 
Precise
Fix Released
High
Dustin Kirkland 

Bug Description

When listing a directory of directories, wherein some of those have 1000s of pictures, the performance is really bad, and can take minutes to load.

Changed in pictor (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pictor - 2.19-0ubuntu1

---------------
pictor (2.19-0ubuntu1) precise; urgency=low

  * index.php:
    - fix some whitespace
    - deprecate $EDIT editing descriptions
      + this never worked terribly well, and required www-data have
        write permissions on the file, which was messy
    - move the has_subdir() functionality to actually test if a directory
      has images; this is much more efficient, as a directory that has
      1000 files would have to scan all of those to see if any of those
      was a subdirectory; instead, just see if any one of those is an
      image, and if so, we'll assume its an album
      + LP: #952588
    - fix a broken reference to $url, should be $href
    - use isset() to test the existence of various variables and keys
      + LP: #952587
      + this should clean up a LOT of noise in /var/log/apache2/error
        and improve performance
      + define a couple of variables to prevent errors in apache logs
 -- Dustin Kirkland <email address hidden> Sun, 11 Mar 2012 07:10:44 -0500

Changed in pictor (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.