0

I am using print module for generating pdf on my websites. Most of the part seems to work fine except when i try to use an image in my node.tpl.php file.

Even though the node page seems to show the image the print pdf page gives an error.

And this only happens when there is an image in node.tpl file.

TCPDF ERROR : Can't open image file : /.../print/tcpdf/cache/...enter image description here

please help

ayush
  • 14,350
  • 11
  • 53
  • 100

2 Answers2

1

Faced similar issue .permission did nt worked .Updated tcpdf version to newer one in my case tcpdf_5_9_149 to tcpdf_5_9_150 and stared working properly.The newer version has the fix for cache issues

0

You need to give permission to write the cache folder in your lib(for me: sites/all/modules/print/lib/cache) directory! for example 777