fixed routing error with missing photos
changed logs to debug