allow GIF and PNG images