TCPDF ERROR: [Image] Unable to get image

Phoca PDF - creating PDF documents in Joomla! CMS
Scorpion
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Aug 2012, 15:55

TCPDF ERROR: [Image] Unable to get image

Post by Scorpion »

Hi,

i use Joomla 2.5.6 , JoomGallery 2.0 and PhocaPDF 2.0.5.

If I merge a picture with JoomGallerys Add-on JoomPlu into an article, PhocaPDF get me this Error: TCPDF ERROR: [Image] Unable to get image: index.php?option=com_joomgallery&view=image&format=raw&id=97&type=img

A Picture outside the JoomGallery works perferct with PhocaPDF.

Whats wrong there?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TCPDF ERROR: [Image] Unable to get image

Post by Jan »

Hi, in parameters of plugin you can disable executing plugins in PDF (as there is no support of gallery images for PDF)
Jan
If you find Phoca extensions useful, please support the project
Scorpion
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Aug 2012, 15:55

Re: TCPDF ERROR: [Image] Unable to get image

Post by Scorpion »

Hi Jan,
thanks for your reply.
It works!

But i found another Trick to get the image work at the Phoca-PDF.
The Code of the image in the Article is:

Code: Select all

<img style="height: 310px;" src="index.php?option=com_joomgallery&view=image&format=raw&id=97&type=img" class="jg_photo" alt="joomplu:97" data-mce-src="index.php?option=com_joomgallery&view=image&format=raw&id=97&type=img" data-mce-style="height: 310px;">
When i add "http://tierschutz-marienberg.de/" in the src and the data-mce-src line, so that the code are looking that:

Code: Select all

<img style="height: 310px;" src="http://tierschutz-marienberg.de/index.php?option=com_joomgallery&view=image&format=raw&id=97&type=img" class="jg_photo" alt="joomplu:97" data-mce-src="http://tierschutz-marienberg.de/index.php?option=com_joomgallery&view=image&format=raw&id=97&type=img" data-mce-style="height: 310px;">
Its work perfekt. The image are shown in the PDF.

I think this is a Problem from the JoomGallery and not from PhocaPDF?!
Thanks a lot for your help!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TCPDF ERROR: [Image] Unable to get image

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply