"/priv/uploads/#{photo}"
is an absolute path and doesn’t exist on your hard drive.
Look at this thread: Accessing the priv folder from Mix release - #2 by NobbZ
What you need is something like this:
"#{List.to_string(:code.priv_dir(:your_app_name))}/uploads/#{photo}"
or use a relative path.