2

I can't figure out how to save QGIS Print composer template with image. In our map compositions we always have company logo in one place. It is easy to add image (logo) to composer and place it to spot I need. But when I save template, it saves without image (logo). Is there some setting for it? Am I misssing something or there is no way so far to save template including image?

2

I found the problem. When I saved template I did it to different folder than project was saved in. The image was specified through relative path but from project - not template itself. All I had to do was specify image through absolute path. Now the template shows the image.

(In the Project / Project properties... Ctrl+Shift+P under General tab / Save paths: absolute. Open the template and in Item properties / Image source check if the path is absolute path leading to the proper folder. If it is done you must save / overwrite the template. After that you can load templates to any projects in any folder and it will link the image properly as far as the absolute path will be accessible.)

0

Where do you see that option 'specify image through absolute path'? I don't seem to find it, even not on the web. We do have the same problem here..

Thanx very much in advance..

  • In the Project / Project properties... Ctrl+Shift+P under General tab / Save paths: absolute. Open the template and in Item properties / Image source check if the path is absolute path leading to the proper folder. If it is done you must save / overwrite the template. After that you can load templates to any projects in any folder and it will link the image properly as far as the absolute path will be accessible. – Miro May 21 '15 at 8:37
  • Thanx! It helped us. Asked on QGis-developers to add a possibility to be able to alter the default 'Save paths'-specification (when making a new project) to 'absolute' using a new overall Qgis-setting link, link – Filip Mahieu May 22 '15 at 15:42
  • Specifying Absolute path will work on one specific system, whether can we use generic paths using environment variables so that it can be used in any system. – Ankit Chaudhri Mar 14 '17 at 6:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.