Adapt photos classpath