Bug 219068

Summary: Export items to html gallery using tags doesn't sort by date or file-name
Product: [Applications] digikam Reporter: Joe <spamyourmother>
Component: Plugin-Generic-HTMLGalleryAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0

Description Joe 2009-12-17 14:11:55 UTC
Version:           0.7.0-1ubuntu2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

I used a TAG to select images across several albums, then used the HTML Export plugin to create a static HTML gallery.  I noticed that a few of the images on the index page were not in the same order as they appeared in the Digikam browser view, when viewing by Tag.  Whether the Digikam was set to "Group Images" "by album" or "flat", the images in the HTML gallery appeared in the same order.  

Looking at digikam4.db in sqlite, it appears that the order of the images in the gallery matches the order in the database.

The order of images in the gallery should be predictable based on file name, image date, appearance in Digikam, or some other easily recognizable feature, rather than based on the order of the images in the database, which is not easily determined.
Comment 1 caulier.gilles 2011-12-20 13:08:31 UTC
Joe,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 2 caulier.gilles 2015-05-19 17:40:57 UTC
Joe,

This file still valid using kipi-plugins 4.10.0 ?

Gilles Caulier
Comment 3 caulier.gilles 2015-06-29 17:52:27 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 4 caulier.gilles 2017-07-08 22:49:14 UTC
Problem is not reproducible with current HTML Gallery tool implemented in digiKam core version 5.7.0

Gilles Caulier