Don't see why you're using GD though. :/ Just use readfile() to read the raw-contents of the file and send it with the appropiate header. Gifs and whatever will work fine. :/