Friday, February 5, 2010

Bug fix - thumbnail size problem and PNG files. FIG is now PHP5 only.

Thumbnail Resizing Bug

A bug where thumbnails could not be created at any other size other than 100 x 100 has been fixed. This bug accompanied an error like below as described in this forum post:

Warning: imagesx(): supplied argument is not a valid Image resource in /fig/makethumbs.php on line 60
Warning: imagesy(): supplied argument is not a valid Image resource in /fig/makethumbs.php on line 61

The error only occurred on servers using PHP5 (as far as I know). The script that the gallery uses to resize thumbnails has been updated. Unfortunately, the latest version of phpThumb does not work with PHP4. So this bug fixed version of FIG and any future upgrades will be PHP5 only and the server will need GD 2.0+. If your using PHP4 don't upgrade the phpThumb folder.

Better PNG Support for Borders set to Zero

Another quirk that has been fixed is that setting borders to zero in FIG did not actually removed the border completely. When set to zero the thumbnail images simply covered up the box that made the borders. For almost everyone this is not an issue. If you used PNG files with transparency or GIF files with transparency then it causes the border to be seen through the image. Now setting borders to zero will remove the border completely and PNG's and GIF's will be fully transparent.

Slight Interface Change

There is one slight interface change. Thumbnails will no longer fade when they are rolled over. Instead the contrast for the thumbnails will increase. Seemed like a better and more flash-like behavior to use.

Forum is acting weird

The whole site was switched to a new host at the end of December. For some reason the forum seems to point back to the old host once in a while and shows the latest post as one from December. I will be fiddling with some files in the forum, so don't be surprised if it goes down for a bit or is sporadic.