php - Tcpdf image not showing while using in codeigniter -


i using tcpdf , getting content mysql table row holding html like:

<p>internet users our primary target market. not charge consumer fee using our services or make purchases online. not add fee or commission on products compare , purchase online</p> <p><img src="http://1/2/3/x.jpg" width="x" height="x"></p> 

tcpdf not support absolute path. have use relative path.

use realpath function in php

other things at, read access images script. have set permission chmod 777 or 755 image containing folder.

regards,


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -