The recordset to get the images.
One image each record and only if the image exist
My Php code verify that the image exist.
To change the images display order modify the recordset order.
Image path field
The field in the recordset that contain the path of the images
The short description text of the image (can be dynamic)
The long description text of the image (can be dynamic)
The thumbnail image can be inserted the suffix or the record field where you have the image path. If you insert the suffix my Php code search in the same folder of the main image if exist the thumb. The suffix can be before the image name or between the image name and the image extension, my Php code search in the 2 position.
The thumb image is not required (optional)
Set the dynamic value for the field