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