Update classes/image/gd.php

The load function seems to assume every loaded file is a "jpg" resulting in the wrong 'imagecreatefrom'.$image_extension been called.