TCPDF error: Unsupported image type: php?option=com_joomgallery&func=watermark&catid=244&id=1167&itemid=37