work in progress for photo uploads