services pictures, sql template