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