New answers tagged reports
Why not data define the image path? Next to the image filename is a button which allows you to link the path to an attribute in your data (or set via an expression).
You need to set your map to use the atlas feature's extent, using QgsComposerMap.setAtlasScalingMode, eg myAtlasMap.setAtlasScalingMode( QgsComposerMap.Auto ) Place this line after you've setup your atlas, but before the beginRender call.
I'am currently facing this problem too. I authomatized via python the creation as the report and the tif is added to the layout than, now I'd like to automatically fit on my view. Any ideas?
Top 50 recent answers are included