TCPDF error: Image file has no extension and no type was specified: gallery/image?format=raw&type=orig&id=69