Monthly Archives: May 2015

Menalto Gallery GdFunctionality.class fix

When upgrading from PHP 5.2 to a newer 5.x version, Menalto’s Gallery resulted in the following error:

Warning: Missing argument 3 for GdFunctionality::imageJpeg(), called in /home/userdir/public_html/gallery2/modules/gd/classes/GdToolkit.class on line 527 and defined in /home/userdir/public_html/gallery2/modules/gd/classes/GdFunctionality.class on line 351

Rather than just turning off warnings, I fixed it with the following code segment:

Site migration day.

If you need to contact me, please visit:

I upgraded the server hardware and software earlier this month. Many instances of depreciated and insecure code led me to the decision to migrate the site to a new platform. Especially with more on the way as PHP revisions advance. I’ll migrate some of the nifty stuff from the old platform to the new platform, others will just go the way of the Dodo. Enjoy!