Replace exif calls with GD library for the Union server