modifications to photo resource for logging and such as