Comments (5)
is the image of the background accessible from the phone ? is in the phone Filesystem ? if yes, check case-sensitive problems with filename, and as a last resort try to load your template in webkit in the mobile browser and check if your image get loaded.
take a look at this example, i'm able to load background images from google.com.
pdf-generator-example
Cheers.
from pdf-generator.
Hello <img src="file:///var/mobile/Containers/Data/Application/6DF0F18C-7063-4993-9194-6949A1F76BE6/Library/NoCloud/C3tuFcdv_photo_004.jpg" width="100%" />Hello <img src="file:///var/mobile/Containers/Data/Application/6DF0F18C-7063-4993-9194-6949A1F76BE6/Library/NoCloud/e62xLcdv_photo_005.jpg" width="100%" />
On iOS the above data when converted to PDF gives blank images even though the images are available on the path mentioned. What could be wrong?
from pdf-generator.
+1
from pdf-generator.
Any news from this problem ?
from pdf-generator.
Same trouble, anyone figured that out? My file path looks ok as usual missing icon is not displayed.
from pdf-generator.
Related Issues (20)
- Application crashes on iOS when use fromData
- lock pdf from editing
- Blank PDF file is generated when called first time HOT 1
- Error on `cordova plugin add cordova-pdf-generator` HOT 1
- PDF Generator not working on android 10 !!! HOT 2
- How can we generate a pdf with password using this plugin ?
- Crash on Android 10
- Css and html tags are not implemented on pdf generated in vue ionic HOT 2
- PDF font changes with Mobile font size
- How to show paginations on the PDF generated? HOT 1
- convert to pdf/a
- Unable to add local images after upgrading to Android API 30 HOT 1
- Webpage not available net:ERR_CONNECTION_REFUSED
- Loading an internal CSS not working for iOS Capacitor
- Table Border not visible HOT 1
- PDF preview doesn't appear in Android, it is continue spinning
- How to use with ionic webview
- iOS 17 crash
- It doesn't work on iOS. HOT 1
- Images not shown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdf-generator.