3

I have a map of an area and georeferenced photos. I need to be able to bring the pictures as points and then be able to click at a certain point and an image pop up.

I have revisited this issue, i managed to get this far but the pop up doesn't work.

See image:

enter image description here

  • Welcome to gis.stackexchange! Please note that a good question on this site is expected to show some degree of research on your part, i.e. what you have tried and - if applicable - code so far. For more info, you can check our faq. – underdark Aug 30 '15 at 8:32
5

Like Maj said, I think that he easiest way to do something like you said is based om the map tips functionality. You can find the steps by step description here

  • First you should have a file name or a path in the points layer attributes associated with your pictures.
  • Second, edit the map tips with following HTML code :
    < img src="[% image %]" width=300 height=300 >
    Where [% image %]refers to the path of your picture
  • Alternatly you can set
    < img src="YOURPATHT/[% image %]" width=300 height=300 >
    if [% image %] refers to your file name.

    This was quite effective for me. Hope it helps.

    • The HTML code in the answer didn't work as is, there is an extra space before img and the end should be />. Here is what worked for me in QGIS 2.18.9 (photo refers to the field name I'm using to store the image path): <img src=[% "photo" %] width=300 height=300 /> – Techie_Gus Jun 9 '17 at 18:30
    1

    You need to create a point file from your georeferenced photos (if you haven't already) and include the file-path of your image in the attribute table (which again may already exist depending on how the geo-ref photos have been created). It is then possible to use hyperlinks that will open your photo as a pop-up when you select the point in the map view.

    Below are some step by step guides, but essentially you need to use activate map tips in the layer properties so that the point will open a hyperlink when it is selected.

    https://www.youtube.com/watch?v=CUxkddOP3BQ http://manual.linfiniti.com/en/create_vector_data/actions.html

    More info on map tips:

    http://nathanw.net/2012/08/05/html-map-tips-in-qgis/

    qgis how to assign a field to map tips

    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.