The short answer
List the components of the design separately before deciding how to credit anyone: the original photograph, your written line, any commissioned lettering and any licensed illustration or decorative texture. The person who supplied the image file may not be its photographer, and possession of a copy is not proof of reproduction permission. Read any existing contract or license for whether commercial printing, editing and presentation with text are covered. Keep the original title or attribution information with the source. Where a photograph was made as part of an employer's or client's work, ask who actually controls the applicable rights rather than relying on memory of the shoot.
What to consider
Agree on the form and location of credit with the rights holder when attribution is required. A photograph credit could appear in a separate accompanying note if the permitted terms allow it, while the words can be identified as your own; do not invent a credit format that conflicts with a licence. Check that added text does not change the apparent meaning of the photograph or imply the photographer endorses a message they did not approve. Record the exact approved version and intended audience. Credit is a matter of honest attribution but not a substitute for permission, subject consent or the current vendor's confirmed production capabilities.