bug fixed, photo-methode in libs/helpers.js added