<div dir="auto">How does Print Layout know which image to display from the attribute table? Are you saying a feature has an attribute with a specific file path from a folder where there are multiple image files?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 9, 2024, 2:01 PM  <<a href="mailto:qgis-user-request@lists.osgeo.org">qgis-user-request@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send QGIS-User mailing list submissions to<br>
        <a href="mailto:qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-user@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:qgis-user-request@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-user-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:qgis-user-owner@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-user-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of QGIS-User digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Issue with Adding Dynamic Images in QGIS Report (Max Hoyer)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 9 Jun 2024 10:57:20 +0200<br>
From: Max Hoyer <<a href="mailto:maxhoyer1@gmail.com" target="_blank" rel="noreferrer">maxhoyer1@gmail.com</a>><br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-user@lists.osgeo.org</a><br>
Subject: [Qgis-user] Issue with Adding Dynamic Images in QGIS Report<br>
Message-ID:<br>
        <<a href="mailto:CAP04P1uLQ0YMbPse1Pq_rnsE72thRg01yfGcfa3turHyw99kGw@mail.gmail.com" target="_blank" rel="noreferrer">CAP04P1uLQ0YMbPse1Pq_rnsE72thRg01yfGcfa3turHyw99kGw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
I am writing to seek assistance regarding an issue I am experiencing while<br>
trying to add dynamic images to a report in QGIS. I have followed the<br>
recommended steps, but the images are not displaying correctly. Here are<br>
the details of my issue:<br>
<br>
1. **QGIS Version**: I am using QGIS 3.28.15.<br>
<br>
2. **Setup**:<br>
   - I have created a text field in the attribute table of my layer to<br>
store the file paths of the images. The field is named "Bild".<br>
   - The file paths are entered in the following format: D:\Huddinge.jpg<br>
   - I have confirmed that QGIS has access to the image files and can<br>
display them when not using the attribute table.<br>
<br>
3. **Steps Taken**:<br>
   - I opened the Print Layout.<br>
   - I added an image object to the layout.<br>
   - In the properties of the image object, I selected "Raster image" ?<br>
"Attribute Field".<br>
   - I selected the correct layer and the "Bild" field.<br>
   - I ensured the "Field type: string" option is enabled.<br>
<br>
4. **Issue**:<br>
   - Despite following these steps, the image does not display in the<br>
report layout. Instead, I see a red "X" indicating that the image could not<br>
be loaded.<br>
<br>
5. **Additional Checks**:<br>
   - I verified that the file paths in the attribute table are correct and<br>
accessible.<br>
   - I tried using both absolute and relative paths without success.<br>
   - I tested different image formats (.jpg, .png) to rule out format<br>
issues.<br>
   - I ensured there are no invisible characters or spaces in the file<br>
paths.<br>
   - I restarted QGIS and recreated the image object in the report layout.<br>
<br>
6. **Other Details**:<br>
   - When adding an image directly (not via the attribute table), it<br>
displays correctly, confirming that the file paths and image files are not<br>
the issue.<br>
<br>
Thanks for your help.<br>
Max<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20240609/95641e3d/attachment-0001.htm" rel="noreferrer noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20240609/95641e3d/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
<br>
------------------------------<br>
<br>
End of QGIS-User Digest, Vol 220, Issue 11<br>
******************************************<br>
</blockquote></div>