fixes #10 - adding gif image support