2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/RelationView.py * src/DataViews/PedigreeView.py * src/ReportBase/_ReportUtils.py * src/Editors/_EditPerson.py * src/Editors/_EditMediaRef.py * src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu * src/plugins/Summary.py * src/plugins/WriteCD.py * src/plugins/IndivComplete.py * src/plugins/NarrativeWeb.py * src/plugins/WritePkg.py * src/plugins/GVFamilyLines.py * src/plugins/DefaultGramplets.py * src/plugins/SimpleBookTitle.py * src/plugins/Check.py * src/plugins/GVRelGraph.py * src/plugins/FamilyLines.py * src/Selectors/_SelectObject.py * src/GrampsDbUtils/_WriteGedcom.py #1787, #1208: use relative path correctly svn: r10048
This commit is contained in:
@@ -302,7 +302,9 @@ class RelGraphReport(Report):
|
||||
media = self.database.get_object_from_handle(mediaHandle)
|
||||
mediaMimeType = media.get_mime_type()
|
||||
if mediaMimeType[0:5] == "image":
|
||||
imagePath = ThumbNails.get_thumbnail_path(media.get_path())
|
||||
imagePath = ThumbNails.get_thumbnail_path(
|
||||
Utils.media_path_full(self.database,
|
||||
media.get_path()))
|
||||
#test if thumbnail actually exists in thumbs (import of data means media files might not be present
|
||||
imagePath = Utils.find_file(imagePath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user