I am working in pages with a template and want to keep the image but get rid of the black background?
Which template, exactly, are you using?
Surprise surprise but we can't see what you are looking at and referring to.
What black background?
If it is black background in the actual photo:
Menu > Format > Instant Alpha > drag the cursor over the colored background you wish to remove
Retrieving data ...