Bug 181112 - Add "X-HTML Parameter" file to select an item in html gallery
Summary: Add "X-HTML Parameter" file to select an item in html gallery
Status: CONFIRMED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-HTMLGallery (show other bugs)
Version: 5.5.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-17 23:02 UTC by enaut
Modified: 2019-11-25 18:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enaut 2009-01-17 23:02:08 UTC
Hi,

I was searching for a file select possibility to choose a file. The chosen file should be copied to the theme folder and there should be a variable for the xslt file containing the name of this file.

Usecases:
Make a custom background image or something similar.
Let the user chose custom css files over the default ones.

thanks enaut
Comment 1 caulier.gilles 2011-12-22 15:43:09 UTC
enaut,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 2 Bob 2019-11-25 18:51:01 UTC
As of digiKam 6.3.0 the HTML gallery plugin does not offer the ability to define a file-select parameter type within the themeName.desktop file.

However, it would need to be decided whether adding this ability would make sense. Giving a user the option to select a custom CSS file would be interesting until the user needs to make custom image resources available, and then it's not clear how the HTML gallery parameters interface would make that possible (because the gallery interface would have no idea how many files would be needed, so it wouldn't be able to offer parameter fields would be needed).

If a user wishes to see custom CSS in their generated galleries, it's probably better that they read the how-to guide:

https://cgit.kde.org/digikam.git/tree/core/dplugins/generic/tools/htmlgallery/themes/THEME_HOWTO

and create their own custom theme or style. (Once they've created a custom theme in their home directory, it will continue to be available to them in future runs of the digiKam HTML gallery tool, and will be a lot easier to apply then specifying file paths for stylesheets and image resources.)