Added support for gd

Added support for gd, needed for assetic.
Merge pull request #1 from l3l0/patch-1

Added support for gd
Changed mounted directory path to be more generic.