Adding support to GIF and PNG files