OS Property support center

Error when re-generating images

  • Stephan Römer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 4 days ago #171018 by Stephan Römer
Error when re-generating images was created by Stephan Römer
Hello,

I've changed settings for images and now I'm trying to re-generate the images.

But I always get an error: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, null given

What can I do?

Best regards
Stephan

Please Log in or Create an account to join the conversation.

More
1 month 4 days ago #171019 by Mr. Dam
Replied by Mr. Dam on topic Error when re-generating images
Hi Stephan,
Common Causes of null Being Passed
1. Unsupported image formats.
2. PHP GD extension is not enabled or incorrectly configured.

In this case, you can check that the GD library is installed and enabled by running phpinfo() and ensuring the GD section is present.

Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Stephan Römer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 4 days ago #171022 by Stephan Römer
Replied by Stephan Römer on topic Error when re-generating images
Hello Dam,

thanks for your reply.

PHP GD extension is enabled (see picture attached).

Picture files are PNG, JPG and WEBP. So, WEBP is not supported?

Best regards
Stephan



 
  • Please Log in or Create an account to join the conversation.

    More
    1 month 4 days ago #171031 by Mr. Dam
    Replied by Mr. Dam on topic Error when re-generating images
    Hi Stephan,
    I still think the cause of this issue comes from GD library, but you can submit ticket on category: OS Property and provide your site credentials. I will debug code and get back to you.
    Thanks
    Dam

    Please Log in or Create an account to join the conversation.

    Moderators: Mr. DamNguyen Phu Quan