Sex accused posed as photographer: court