photos directory path amendment