Hi, i have a template to generate a PDF file which I am trying to create a header for each group of photos which is displayed per property as shown below. The main property table has a unique ref which is [door ref id] and I have another table linked by the [door ref id] called Install photos. Any help would be appriecated.
This is the output I want to achieve, three pictures wide with a photo group header.
Anyway, I don’t believe templates function this way. You better do the photo grouping outside the template. Create a grouped list of photos, where each element of this list would contain three photos, then use INDEX() inside the three columns.
The photos in the 3 columns works well by property however they are not grouped by the photo type which is what I am trying to achieve. There is around 14 different photo type groups and the user could take many photos against each photo type.
The first thing I need to achieve is to only show the photo type header once and then after that I can then have the relevant picture to that photo type underneath.
I have bene playing with something like this but not having any luck
I see. There’s no indication of this grouping in the template. I guess you’d need to create a photoTypes table, make the photo type column a Ref to that table, and operate your start expressions on that table. Also to ease troubleshooting, please show the result you are getting.
Thanks as always Steve, I have managed to get pretty much there now however still having problems trying to show 3 pictures across. managed to create a header that only appears once by create a VC {photo no] =
Yes, it is proving very difficult I have used this setup below before which does give 3 photos across but not grouped by a header, so I need try and tweak this somehow.
Hi, I did take on board what you said but this does not work, there are 15 different photo types and each photo type can have several photos against them. Each photo type is grouped by the address, my method does group these photos by type and displays the first photo in that group its phot 2 and 3 i am struggling with. I have previously done this however the photos was not grouped by a photo type. Please see below snipit, this works fine however not groupled by photo type
This was a sample screen shot of a previous system that works well, I am now working on a new system that groups the photos by photo type as in my previous post and screen shots.