Added extra logging for photo uploads