I am trying to display the images of a layer with the "map tip" function.

The absolute path of each picture (D:\ ... \ ...\...jpg) is written in a field called "path".

I tried to build the HTML code with help from other posts, but I can't display the image.

Is this code correct?

<div style="width:400; height:400">
<img src= [% "path" %] " width="400"></img>

1 Answer 1


I fixed the code, this works:

<div style="width:600; height:600">
<div><img src= "file:///[% "path" %]" width="600" /></div>

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