Support

Support Requests

Last post
BirgerPüschl

BirgerPüschl
2 posts
---
Location:
n.a.
19.08.2012 21:51

Image not showing on PDF

I've installed your plugin and I'm having a problem displaying the images in the PDF.

Eg. It says

Image not readable or empty
http://www.bikefinder.dk/images/users/132/sortkildemoes.png

But when I access the picture in the browser I can see it just fine.

Any Ideas?




 
EvanFillman

EvanFillman
8 posts
---
Location:
n.a.
20.08.2012 12:20

Re: Image not showing on PDF

Birger,

Thanks for writing in. Its pretty exciting to get the first support request. I will start troubleshooting this issue. I had problems with this during the initial development but thought I had squashed it.

There are two main possibilities I can think of. The first is that its a problem with the "security" of the image file. Is there any way you could try running the article with the image from the root joomla images folder (just copy your desired picture to this folder and then re create it in the article)? Which would be /joomlaroot/images?

The second is that there is a parse error in the code which I will look into.

Thanks




 
BirgerPüschl

BirgerPüschl
2 posts
---
Location:
n.a.
20.08.2012 21:50

Re: Image not showing on PDF

Hi

Hope this plugin works for you. It has potential.

I actually fixed it. The problem was the dompdf settings which maybe is caused by installing the phocapdf component first, which also uses the dompdf library.

I changed my images to use $_SERVER['DOCUMENT_ROOT'] and that was it.




 
EvanFillman

EvanFillman
8 posts
---
Location:
n.a.
21.08.2012 07:29

Re: Image not showing on PDF

Glad to hear you were able to fix the problem. So you had to redirect that variable to your images folder? Just wondering for documentation.



 
ReeseYontz

ReeseYontz
2 posts
---
Location:
n.a.
12.12.2012 20:40

Re: Image not showing on PDF

I actually fixed it. The problem was the dompdf settings which maybe is caused by installing the phocapdf component first, which also uses the dompdf library.

I changed my images to use $_SERVER['DOCUMENT_ROOT'] and that was it.


Could you explain a little bit more. I have tried editing the dompdf config file and your change does not appear to be working for me.