* src/GrampsDbBase.py: always use external thumbnails
* src/GrampsBSDDB.py: always use external thumbnails * src/ImgManip.py: centralize thumbnail handling * src/ReadXML.py: handle thumbnail changes * src/ReadGedcom.py: combine common files into the same media object svn: r3749
This commit is contained in:
@ -1129,10 +1129,12 @@ class GrampsDbBase:
|
||||
return cols
|
||||
|
||||
def get_thumbnail_image(self,handle):
|
||||
return None
|
||||
|
||||
def set_thumbnail_image(self,handle,path):
|
||||
pass
|
||||
data = self.media_map.get(handle)
|
||||
if data:
|
||||
import ImgManip
|
||||
return ImgManip.get_thumbnail_image(data[2])
|
||||
else:
|
||||
return None
|
||||
|
||||
class Transaction:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user