sgupta
New member
I am using mpdf to show image on generated pdf, but images are not shown.
I have used an image as an external resource, have tried call it by passing subfolder/imagename as src in image tag, but images are not visible.
I have also spent a lot of time in uploading image to database BLOB column and then bringing it out on pdf.
When I run my codeigniter project in browser, I can see the image.
When I run my project in exeoutput application using localhost/application name in base url, image is shown
But,
when i use http://heserver/ in base url, image stops showing.
I have also tried to use an absolute path for Data folder, no wonders. I executed application without absolute path to data folder, no wonders.
I also tried a relative path, but no wonders.
I have also tried
which returns the correct path but image is still not visible on pdf
I have started feeling depressed as this is the third time I am working in exeoutput and failed to deliver the project to client.
Can anybody help me out and save me from quitting?
I have used an image as an external resource, have tried call it by passing subfolder/imagename as src in image tag, but images are not visible.
I have also spent a lot of time in uploading image to database BLOB column and then bringing it out on pdf.
When I run my codeigniter project in browser, I can see the image.
When I run my project in exeoutput application using localhost/application name in base url, image is shown
But,
when i use http://heserver/ in base url, image stops showing.
I have also tried to use an absolute path for Data folder, no wonders. I executed application without absolute path to data folder, no wonders.
I also tried a relative path, but no wonders.
I have also tried
'<img width="30px" src="'.exo_getglobalvariable('HEPubStorageLocation', '').'rs\logo.png" />'which returns the correct path but image is still not visible on pdf
I have started feeling depressed as this is the third time I am working in exeoutput and failed to deliver the project to client.
Can anybody help me out and save me from quitting?
Last edited: