convert pdp modal to use an img element