[Qgis-user] ideas/examples of atlas/report with multiple pictures for each object?

Voisard François Francois.Voisard at ne.ch
Thu Jan 23 23:50:37 PST 2025


Hi all,

I am looking for ideas/examples how to create a report (or an atlas) where for each object (e.g. public gardens) we have a variable number of photos (let's say 1 up to 9) that we would like to display.

The photos are named and stored so that we can fetch them by an expression like this:
@project_folder  || '/photos/' || "object_id" || '/basename_' || "picture_id" || '.jpg'

The issue I run into is that I would need a loop to get all the photos in the object_id folder and that depending on the number I'd probably have, one up to three pages with photos depending on the layout.

A very simple example of a layout would be like this : https://sitn.ne.ch/web/diffusion/tmp/qgis_atlas_example.png

Any suggestions how to approach it? Report or atlas?
With an HTML element block maybe?
Any existing examples?

Many thanks for your help and best regards,

François Voisard
Ingénieur en géomatique




More information about the QGIS-User mailing list