TCPDF error: Unsupported image type: php?option=com_docman&task=doc_download&gid=47&itemid=178