test function for photo adding for production server