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

Adding a default image #143

Open
petarthewizard opened this issue Oct 1, 2021 · 3 comments
Open

Adding a default image #143

petarthewizard opened this issue Oct 1, 2021 · 3 comments

Comments

@petarthewizard
Copy link

I am integrating this field into a project of mine but I need to be able to set a default image for when someone deletes the current images or creates a model without an image. My guess is that this shouldn't be too difficult to implement, maybe I can do a pull request but I've downloaded the code and installed the dependencies but when I run ./vendor/bin/phpunit it doesn't run all the tests but it shows me the options and when I provide it with a filename like one from the tests folder it fails with PDOException: could not find driver - I guess it's just that I am doing something wrong rather than actually the tests failing but I am not sure what, do I need to configure something else before running the tests. If you could point my in the right direction in running the tests I'll do my best to make a PR.

@bilogic
Copy link

bilogic commented Oct 3, 2021

I think it's a duplicate of #126

@dmitrybubyakin
Copy link
Owner

@petethewizard PDOException: could not find driver - I think it means you don't have sqlite or mysql PDO driver installed.

@petarthewizard
Copy link
Author

@dmitrybubyakin you are right, I didn't have the sqlite driver installed.

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

3 participants