Difference between revisions of "Addon:DownloadMedia"

From Gramps
Jump to: navigation, search
(Report Options: not quite working has the following error "NameError: name 'name' is not defined")
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Third-party plugin}}
 
{{Third-party plugin}}
 
 
[[File:DownloadMediaTool-addon-dialog-50.png|right|thumb|450px|"Download media tool" - addon dialog]]
 
[[File:DownloadMediaTool-addon-dialog-50.png|right|thumb|450px|"Download media tool" - addon dialog]]
 
+
The {{man label|Download media tool}} is designed to download pictures from websites.
The DownloadMedia tool is designed to download pictures from websites.
 
  
 
If the {{man menu|Preferences -> General}} tabs {{man label|Base path for relative media paths:}} is set, then the media are downloaded there, otherwise, a folder/directory called '<code>mediadir</code>' is created in the user's home directory, and the media files are put in that directory.
 
If the {{man menu|Preferences -> General}} tabs {{man label|Base path for relative media paths:}} is set, then the media are downloaded there, otherwise, a folder/directory called '<code>mediadir</code>' is created in the user's home directory, and the media files are put in that directory.
Line 43: Line 41:
 
[[Category:Plugins]]
 
[[Category:Plugins]]
 
[[Category:Developers/General]]
 
[[Category:Developers/General]]
 +
[[Category:Media]]

Revision as of 22:31, 2 November 2020

Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this addon by following these instructions.
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager.

"Download media tool" - addon dialog

The Download media tool is designed to download pictures from websites.

If the Preferences -> General tabs Base path for relative media paths: is set, then the media are downloaded there, otherwise, a folder/directory called 'mediadir' is created in the user's home directory, and the media files are put in that directory.

Example of use

This example shows how this tool would be used with the Geni website, but other websites would be similar.

  1. Log into the Geni website in the usual way.
  2. Create and export a GEDCOM file. In the case of Geni, instructions are at [1]. You can go to [2] and select the appropriate download option.
  3. In the case of Geni, the GEDCOM file is created off-line, and you get an email to say that the file is available.
  4. Download the GEDCOM file.
  5. Start Gramps
  6. It is strongly recommended that you create a new Family Tree rather than import the downloaded GEDCOM into your main or active tree.
  7. Import the Geni family tree into the new Family Tree.
  8. If you have not already downloaded the addon, download it.
  9. Click on Tools -> Utilities -> Download media files from the internet...
  10. The Download media tool dialog warning message will be shown asking that you are connected to the internet and logged into the website where the images are held appears.
  11. OK the Download media tool dialog
  12. The Media downloaded dialog will report the total number of media files downloaded.

Copy the media files that you are interested in from the download location into the directory where you hold images for your Family Tree, and add the images to the Family Tree.

Gramps-notes.png
Note

That some of the media references are actually references to index pages, rather than direct to the media object, and these are not downloaded. Fortunately, these usually duplicate the actual media files.

Report Options

None, no user option are available.

But provision has been made in the source code to enhance the addon in case a login name and password for the website is needed.

If a problem is encountered in this respect, please raise a bug tracker report, giving details of the website and data that are causing the problem.

Issues

  • 5248 Media images should take weburls