[Kde-imaging] [Bug 127888] New: Images not sorted in HTML Album Export

Mark Ovens marko at freebsd.org
Tue May 23 17:13:10 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=127888         
           Summary: Images not sorted in HTML Album Export
           Product: kipiplugins
           Version: unspecified
          Platform: FreeBSD Ports
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-imaging kde org
        ReportedBy: marko freebsd org


Version:           0.1.0.r1 (using KDE KDE 3.5.2)
Installed from:    FreeBSD Ports
Compiler:          gcc 3.4.4 [FreeBSD] 20050518 
OS:                FreeBSD

I've noticed that when I use the HTML Album Export plugin from kipi-plugins (0.1.0.r1_3,1) with digikam (0.8.1_2) that the output (i.e. the order of the images on the index page) is not sorted properly, either by date or filename.

After some investigation I've found out why. My camera (Canon Powershot A70) reuses the "holes" left by deleted files on the CF card if there are any so, for example, I take 4 pictures, delete the second, then take 2 more pictures. The pictures are stored 1 5 3 4 6 and that is the order they appear in digikam when connected to the camera and also the order in which digikam d/ls them from the camera.

This isn't a problem in digikam itself as you can choose the sort order in the display window,  but the files are stored in the digikam.db files in d/l order - 1 5 3 4 6 - and the HTML Album Export seems to use the order in digikam.db when creating the HTML index page.

There appears to be no way to change the order that HTML Album Export uses and the only workaround I've come up with is to create a new album, display the pictures in the desired sort order, then copy them to the new album - digikam appears to copy them in the order they are sorted.

It seems that either pictures should be sorted by date or filename when creating the HTML index page or, better still, you should be able to choose the sort order. Either that, or digikam should save the filenames in digikam.db in date or name order.


More information about the Kde-imaging mailing list