Bug 224893 - New tool to export to Imgur
Summary: New tool to export to Imgur
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Imgur (show other bugs)
Version: 2.6.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-30 17:14 UTC by Marius Orcsik
Modified: 2018-01-30 21:29 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Orcsik 2010-01-30 17:14:09 UTC
Version:           svn R1079976 (using Devel)
OS:                Linux
Installed from:    Compiled sources

An exporter plugin to upload images to imgur.com.
Comment 1 Marius Orcsik 2010-02-08 11:11:19 UTC
Hi guys, I have a question.

Since the algorithm for generating the image hash on imgur is not public (to my knowledge) would there be a problem if we would store it inside an exif or iptc tag ?

And is there already a standard tag to hold this type of URL ? If not, is it possible to create a new tag (in any of the supported formats) ?
Comment 2 caulier.gilles 2010-02-08 13:20:02 UTC
Marius,

Definitivly, use XMP with a dedicated tag to host your hash. This is not the goal of Exif (camera info) or IPTC (now replaced by XMP) to host this value.

Look libkexiv2 to play with metadata.

In digiKam, we create a "digiKam" namesapce to host indeep values. Look this code for ex. to host Tags Path:

http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#617

Gilles Caulier
Comment 3 Jens Mueller 2010-02-08 14:50:18 UTC
If not already done, we should define a dedicated xmp space to store special export/import metadata. Picasaweb need such information inside xmp too, so there should be a common path for all of this information, like Xmp.<kipi-pluginname>.var or Xmp.kipi-plugins.<kipi-pluginname>.var . Gilles?
Comment 4 caulier.gilles 2010-02-08 15:03:05 UTC
It's already done.look in ExpoBlending plugin where i store settings as text :

http://lxr.kde.org/source/extragear/graphics/kipi-plugins/expoblending/manager/actionthread.cpp#410

Use "kipi" Xmp namespace.

Gilles
Comment 5 caulier.gilles 2010-02-08 15:05:28 UTC
Note : I patched Exiv2 library to recognize kipi xmp namespace :

http://dev.exiv2.org/repositories/diff/exiv2/trunk/src/properties.cpp?rev=1994

If you set new tags, let's me hear to patch again Exiv2.

Gilles Caulier
Comment 6 Marius Orcsik 2010-02-08 15:33:23 UTC
If I stick with the Kipi namespace will you still need to update the library (Exiv2, I mean)?

As this is my first contribution to KDE and Kipi, I am making quite slow progress and there will be some time before I actually make use of the plugin. So far I just managed to have the stub plugin... without any functionality.
Comment 7 caulier.gilles 2010-02-08 16:55:52 UTC
yes, Exiv2 need to be updated, just to give ti Exiv2 a way to show this tags as know. 

You can set this tag and read content without to update Exiv2, but it's better to add new tags just in time.

Gilles
Comment 8 Pau Garcia i Quiles 2011-01-12 16:08:50 UTC
*** Bug 256715 has been marked as a duplicate of this bug. ***
Comment 9 Daniel Hahler 2011-04-01 21:32:43 UTC
What's the status for this?

As far as I can see there's no free service available via kipi plugins to easily submit an image to, e.g. via KSnapshot.
Comment 10 Pau Garcia i Quiles 2011-04-03 22:08:09 UTC
(In reply to comment #9)
> What's the status for this?

I'm very busy at the moment but I will be able to work on this next month

> As far as I can see there's no free service available via kipi plugins to
> easily submit an image to, e.g. via KSnapshot.

Sadly, you are right.
Comment 11 Pau Garcia i Quiles 2011-04-03 22:42:05 UTC
(In reply to comment #9)

> What's the status for this?

BTW, the reason this is not implemented yet is the limits imgur.com imposes

I started to implement this plugin but soon realized with an authenticated account (for KIPI), we would have a maximum of 100 uploads/hour. 

The alternatives are paying US $24/year to double that limit (pro account = 200 uploads/hour), or asking each user to register his own account, which would be a pain. 

I sent an e-mail to MrGrim (imgur's owner) asking him to ease that limit for applications but he didn't even answer :-/
Comment 12 Daniel Hahler 2011-04-04 22:26:11 UTC
I have sent a message to MrGrim now, too.

Apart from that it might be good enough already with the current limits: in case the limit is reached, an error would get displayed and the user would have to link an account or try it later.
I would say that probably 100 uploads/h are enough most of the time anyway.
Comment 13 Daniel Hahler 2011-04-05 01:14:17 UTC
I got a reply by MrGrim:

> All rate limiting is done by accounts or IPs, and not by application. So, each
> individual user would have a limit of 50 uploads per hour which is usually more
> than enough for the casual user. I believe I got back to Pau about this too,
> but maybe it never went through.
Comment 14 oracle2b 2011-12-21 17:04:01 UTC
What progress is being made on this plugin? The limit isn't that bad and I'd rather have something than nothing. 50 uploads/hour anonymously, 100 uploads/hour with a free account & 200 uploads/hour with a paid annual account. Those conditions are reasonable.
Comment 15 Marius Orcsik 2011-12-21 17:12:06 UTC
I'm sorry, there's no progress on my end. 

The existing code (https://gitorious.org/kipi-imgur-export/kipi-imgur-export) is so old I doubt would be usable with the current Kipi version, and even if it would be, the progress I registered is almost non existent.
Comment 16 oracle2b 2011-12-22 08:36:36 UTC
Thanks for the timely reply, I was looking forward to this feature being implemented but such is life.
Comment 17 caulier.gilles 2011-12-22 10:28:14 UTC
Maruis, 

Some new about you implementation ?

https://gitorious.org/kipi-imgur-export/kipi-imgur-export

Gilles Caulier
Comment 18 caulier.gilles 2012-01-08 10:20:59 UTC
*** Bug 290934 has been marked as a duplicate of this bug. ***
Comment 19 Marius Orcsik 2012-01-08 10:59:01 UTC
I just dug up the code and I will try to make it compile with the latest version of kipi-plugins. 

I will come back with an update.
Comment 20 DrSlony 2012-01-09 23:55:57 UTC
I'd like imgur exporting too, and 50 per hour is more than I'll ever need for this kind of use.
Other solutions would make more sense for users who need to upload whole albums (ie. more images per hour).
Comment 21 caulier.gilles 2012-05-19 15:27:26 UTC
imgur kipiplugin tool is not implemented and available for testing since 2.6.0 RC release. Few fixes have been published in source code by Marius for final release. I will create a section to KDE bugzilla about his tool. Please report feedback at this place in the future

I close this file now...

Gilles Caulier