Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not saving image file #84

Open
maplater opened this issue Feb 10, 2017 · 1 comment
Open

Not saving image file #84

maplater opened this issue Feb 10, 2017 · 1 comment

Comments

@maplater
Copy link

Hi, I'm not sure what I am doing incorrectly. When I try running the code below and saving the image, nothing shows up in the temp folder. Is there something I am missing? I am using Laravel if that helps. Thank you.

use Screen\Capture;

$screen = new Capture($link);

$filename = md5($link);

$temp_dir = '/public/storage/temp/' . $filename;

$screen->save($temp_dir);
@sam0hack
Copy link
Contributor

sam0hack commented Mar 1, 2017

Try to give read and write (755 or 777) permissions to /public/storage/temp/ Dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants