Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-21 09:12:58

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

[issue] Auto thumbnailing fails with GD 2.0.15 for gif images

Due to patent issues, instances of gd lacking gif support are out in the wild (2.0.15). Gif support was reinstantiated with GD 2.0.28. Alas, not all hosting providers have caught up to that version.

So there’s a possibility that the auto thumbnailing feature introduced with rev. 1208 will fail with a php error (Fatal error: Call to undefined function: imagegif() in /.../textpattern/lib/class.thumb.php on line 239) thus disabling the whole image upload process.

function_exists() to the rescue: class.thumb.php.diff.

Last edited by wet (2006-02-21 19:49:05)

Offline

Board footer

Powered by FluxBB