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

Unable to open remote jpg image #833

Open
malanciault opened this issue Sep 3, 2022 · 1 comment
Open

Unable to open remote jpg image #833

malanciault opened this issue Sep 3, 2022 · 1 comment

Comments

@malanciault
Copy link

Issue description

Unable to open remote jpg image, while the remote image does exists. No problem with png images, just jpg images.

What version of Imagine are you using?

1.3.2

What's the PHP version you are using?

7.4.29

What's the imaging library you are using [gd/imagick/gmagick/any]?

GD

What's the imaging library configuration

GD Support => enabled
GD headers Version => 2.3.3
GD library Version => 2.3.3
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled
WebP Support => enabled
BMP Support => enabled
TGA Read Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1

Minimal PHP code to reproduce the error:

$imagine = new \Imagine\Gd\Imagine();
$image = 'https://illuxi-v3.s3.amazonaws.com/virtual_event/boot/ASSTSAS-759-FR.jpg';
$image = $imagine->open($image);
@malanciault
Copy link
Author

I found the problem. JPEG support was not enabled for GD. All good thanks

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

No branches or pull requests

1 participant