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

Faker::image returns false #476

Closed
rudashi opened this issue Jun 1, 2022 · 1 comment
Closed

Faker::image returns false #476

rudashi opened this issue Jun 1, 2022 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@rudashi
Copy link

rudashi commented Jun 1, 2022

Summary

When using $faker->image(), got always false.

Versions

Version
PHP ALL
fakerphp/faker 1.19.0

Self-enclosed code snippet for reproduction

$faker->image($path, 250, 250, null, false);

Expected output

// string with image path

Actual output

// false

Possible problem

Line 115 from src/Faker/Provider/Image.php returns false.
Function returns HTTP code 403

curl_getinfo($ch, CURLINFO_HTTP_CODE)

image

@bram-pkg
Copy link
Member

bram-pkg commented Jun 1, 2022

Related to: #475

@bram-pkg bram-pkg closed this as completed Jun 1, 2022
@bram-pkg bram-pkg closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2022
@pimjansen pimjansen added bug Something isn't working wontfix This will not be worked on labels Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants