Bug 96009 - unnecessary deletion of directories in "export HTML"
Summary: unnecessary deletion of directories in "export HTML"
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-HTMLGallery (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-29 23:38 UTC by Des Kelly
Modified: 2018-03-23 21:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Des Kelly 2004-12-29 23:38:47 UTC
Version:           1.1.5 (using KDE KDE 3.3.0)
Installed from:    SuSE RPMs
OS:                Linux

I assume that both DIGIKAM and GWENVIEW use the same plugin to export HTML data when building galleries.
The output is written to KIPI....../"gallery name"/   etc

If the gallery names are unique then why must everything be deleted below the KIPI..... directory when building a further gallery???? This would save storing all but the last gallery temporally elsewhere before uploading them to the web.

The next point concerns the inability to transport text descriptions of images across to the HTML files and display them there. Text entered before the exportation is really meant to be read by the web viewer.

To elaborate on the above I wish to keep all text in a SQLite database using the image filename to retrieve the text and put it into the image on the screen. 

Is the EXIF area the correct place ?  
Is it possible to build a plugin allowing SQLite usage ?
I have over 4000 digital images and the numbers increase daily.

My last wish is to be able to place the FOREWARD and BACKWARD arrows where I would like them. eg on each side of the image. See <www.deskelly.com> to understand my logic.
Comment 1 Math 2005-04-21 16:30:51 UTC
I agree that Digikam (or any other app using this kipi plugin) mustn't remove a folder in KIPIHTMLExport if its name is different from the one being created.

I've search in the code and it seems that the problem is in the "removeTargetGalleryFolder" (from the imagesgallery.cpp file) at the following line (in the 0.1-beta2 version):

QString MainTPath = m_configDlg->getImageName() + "/KIPIHTMLExport";

I first thought that it will be as simple as adding the name of the gallery at the end of the string MainTPath but I've found that the plugin can export more than one gallery. So, I can not submit a patch because it's becoming a little bit to difficult for me but I hope it can help someone with better skills.
Comment 2 Tom Albers 2006-05-28 17:37:08 UTC
This bug is reported against 'imagesgallery'. This plugin has been replaced by a new plugin called 'HTMLExport', which is written completely from scratch. This bug report will now be closed.
Comment 3 Angelo Naselli 2008-03-17 13:25:39 UTC
Since that plugin is obsolete, is this still valid?