TCPDF error: Unsupported image type: php?option=com_joomgallery&view=image&format=raw&id=6859&type=img