PHP GD loading weird looking images

PHP GD loading weird looking images

Adam

Mr. Webwide
Administrator
Local time
13:56
Joined
Sep 24, 2019
Messages
1,257
Pronouns
he/him

Hey everyone! Wonder if somebody is up for a small challenge? There is a PHP GD script running that produces custom social images for Webwide threads, eg: https://socialimage.server2.webwide.io/twitterCard.php?id=725

Ever since I changed the avatar processing on the forum from PHP GD to Imagick, the avatars loaded by this script have been showing in some kind of corrupt way that I can't really describe (you'll see it!).

I wonder if anybody can identify the issue and submit a PR that would resolve? There is a month of gold membership and a profile trophy for anybody who can get it. 😄

 

Adam

Mr. Webwide
Administrator
Local time
13:56
Joined
Sep 24, 2019
Messages
1,257
Pronouns
he/him

Gummibeer

Astroneer
Moderator
Local time
14:56
Joined
Oct 5, 2019
Messages
1,169
Pronouns
he/him

@Adam could you check your GD settings/version? The easiest would be a phpinfo().

 
Last edited:
Top