Added PhotoComponent without ajax.