Bug 175070 - add semi-automatic image download like in AmaroK
Summary: add semi-automatic image download like in AmaroK
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Parley Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 19:08 UTC by Piotr Kubowicz
Modified: 2008-11-21 12:16 UTC (History)
1 user (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 Piotr Kubowicz 2008-11-13 19:08:42 UTC
Version:            (using KDE 4.1.3)
OS:                MS Windows
Installed from:    MS Windows

Currently there's an option to add illustrations to words. But user still has to find and download such illustrations. My idea is to make use of free-licensed images gathered by Wikimedia Commons (http://commons.wikimedia.org/). Because words have different meanings, it's not easy to automatically find the matching photo, so here's an another idea: utilise the same mechanism AmaroK uses to get CD covers: user clicks "find image", gets a dialog window with image previev and buttons: "save", "previous", "next". In this way user can choose between different illustrations of the same word (sometimes word can have many different meanings).

To avoid making a copyright violation, there should be some way of showing copyright information for each image downloaded from Wikimedia Commons. I suggest adding an URL poiting to image description page (which looks like http://commons.wikimedia.org/wiki/Image:Emmentaler.jpg) to dictionary XML. When showing the image, there should always be a button "show image info", starting a web browser with remembered URL.

One suggestion about where to get images from: don't use Wikipedia or Wikimedia Commmons. You should use Wiktionary, because it has images for words in many languages. All images used on Wiktionary come from Wikimedia Commons. I suggest checking different language versions of Wiktionary in the following order: de.wiktionary, pl.wiktionary, en.wiktionary, fr.wiktionary. That's because different language versions use image more or less eagerly. In my suggested AmaroK-way of checking images you don't have to check all language versions at once: you can visit first version, fetch all images, when user click "next" and reaches the end of all fetched - go and visit another language version, fetch more images etc.

Examples:
http://de.wiktionary.org/wiki/Turm
http://pl.wiktionary.org/wiki/kolumna
Comment 1 Frederik Gladhorn 2008-11-21 12:16:47 UTC
Avgoustinos implemented this as script for google image search for KDE 4.2.
I agree that this solution is not perfect since we do not consider licensing at this point. For private use though, this works very well.
I like the idea of a wikicommons script. Feel free to adapt the script to search only wikicommons contents :) It would be nice to know if there is some api to check the license automatically.
Greetings,
Frederik