Use photo file instead front camera image
As a developer, I don't think that's possible without changing the program you are trying to use. 

If that specific program(I suppose it's actually an application) was built to use only the images taken by the integrated front camera, you have to first "teach" it who to use images from other sources. But that's the job of the program developers. You can probably contact them and request this new feature.