photo uploads work on local host