TCPDF error: Unsupported image type: php?option=com_g2bridge&view=gallery&itemid=8&g2_itemid=148