[Digikam-users] Invoking external scripts

Arnd Baecker arnd.baecker at web.de
Thu Dec 6 06:48:18 GMT 2007


Hi Yan,

On Wed, 5 Dec 2007, Yan Seiner wrote:

> I've been using gthumb to upload selected images to my webserver.
> gthumb has a 'open with' option that allows me to open the image with a
> xdialog-based script that I wrote that rotates the image if needed,
> creates a thumbnail and a standard size, and sends them all to my
> webserver via webdav.
>
> I'd really like to use digikam since it has a lot more features than
> gthumb - but I haven't been able to figure out how to invoke a shell
> script from it.
>
> All I want is to call my script thus:
>
> blogify /imagepath/imagename
>
> Preferably by doing something as simple as saveas or export to from a menu.
>
> Do I need to write a plugin to do something this simple?

Have a look at
  http://bugs.kde.org/show_bug.cgi?id=88932#c7
Note that even all files which are currently selected will
be passed on to the script
(though I am not sure whether a length of the command line
restriction applies...).

Clearly, this is not as obvious as the other approaches
discussed in that wish, so go and vote for it, if you think
it would be useful ;-).

Best, Arnd




More information about the Digikam-users mailing list