create photographs model