Dear student,
For a projector the object should be placed between f and 2f so that a real, magnified and inverted image is formed at 2f.
For a photographic camera the object is placed beyond 2f so that an inverted, real and diminished image is formed between f and 2f.
Regards