Yes, the code that takes the picture is in "snap.php"Perhaps creating a "directory variable" in "config.php" and then re-use in various place of the code would do it.. (feel free to pull request ;)
Dont download from github, the file is too big and couldnt be saved there. Instead, use this link: https://www.cubitux.ca/img/github/rpi-photobooth-20170923.img.zip
The is is available on github --> https://github.com/phenelle/RPi_Photoboth/tree/master/source/config/etc/init.d
Hi,Sorry for the delay to replyPerhaps wkhtmltoimage is not installed ? (or not working as expected?) It could be a permission issue as well..The generated image attached to the email comes from "card.php"The code to send email and attach the generated image is in "sendmail_form.php"If you could provide more trace / debug information.. It would help
What is the problem ?
Yet Another Raspberry Pi Ph...View Instructable »