great
Thanks Jason, i just wanted to check i was on the right lines.
As all of my gallery viewing pages will be based on the same recordset, what i have done so far is to use a php includes for the recordset code and just a few lines for the css import and everything in the <body> tags
i added the code to a dataassist 'insert new record' page, so i add a row to the appropriate table, populating the title tag fields and a few others, and create a standard gallery page which reads this data from the table.
i then use an update record page to insert the appropriate gallery code to my content.
early days, but looking good.
thanks for your help