* src/ReportUtils.py (insert_images): Pass sizes to add_media_object.
svn: r4570
This commit is contained in:
parent
1a311e0918
commit
9b606381f9
@ -2,6 +2,7 @@
|
||||
* src/plugins/Check.py (cleanup_missing_photos): Typo.
|
||||
* configure.in: Bump up the version number.
|
||||
* NEWS: Update.
|
||||
* src/ReportUtils.py (insert_images): Pass sizes to add_media_object.
|
||||
|
||||
2005-05-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
* src/plugins/TestcaseGenerator.py: Added generation of multiple date
|
||||
|
@ -418,7 +418,7 @@ def insert_images(database, doc, person, w_cm=4.0, h_cm=4.0):
|
||||
media_object = database.get_object_from_handle(object_handle)
|
||||
if media_object.get_mime_type()[0:5] == "image":
|
||||
filename = media_object.get_path()
|
||||
doc.add_media_object(filename,"row")
|
||||
doc.add_media_object(filename,"row",w_cm,h_cm)
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user