photo resource handling
repo clean up