fix show photo to apicontroller