[BUG]: Image frame not working
Describe the bug
when i select take picture with frame it automatically reboot the photobooth but the path of the frame is correct and im using the release 4.4.0
Steps to reproduce the behavior
- click take pic with frame
- take picture
- photobooth error
Expected behavior
when i select take picture with frame it automatically reboot the photobooth but the path of the frame is correct and im using the release 4.4.0
Photobooth Version
4.4.0
Browser and browser version
chrome and firefox
Operating System
windows 11
Did it work before?
No
Latest working version
No response
Additional context
No response
More information about your setup needed. OS Photobooth installed on? PHP version?
More information about your setup needed. OS Photobooth installed on? PHP version?
Hello !
PHP Version 8.2.13
Apache 2.4
OS : Windows 11
I'am using a Wampserver to run the photobooth
error.log but no error that mean frame isn't working
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Still need to look at. Busy in real life currently.
For me adding image frames doesn't work either. In the log i found the following: Error ["Can't create GD resource.","Failed to create frame from image."] This leads me to image.php and the function call imagcreatetofromstring(). Unfortunately i never did anything with php until now and don't know how to debug... Thanks for helping
How does your config look like? Until v4.4.1 frame needed to be a full path while on latest development version it must be placed inside the Webserver. Example until v4.4.1
/var/www/html/resources/img/frames/frame.png
Example on latest development version:
/resources/img/frames/frame.png
And if it's failing with Can't create GD resource there might be something wrong with your image file.
At least on Linux I also can't confirm a bug on v4.4 0/v4.4.1
I am running on RPI5 with 8 Gb RAM. Installed using the install-photobooth script (version 4.99). PHP version is 8.3.10. I tried it with the demo image and one of the provided frames in the webserver directory
PHP 8.2, frame with and without extension
Same with pho 8.3.10
I did a clean reinstall and now it works perfectly. Unfortunately i cannot replicate what the problem was. Thanks for your help! Appreciate it a lot!