1
votes

I am using QLPreviewController to show an html page to print it. After QLPreviewController loads the html, images are not displayed however they are displaying normally when i open it via browser.Can anyone have an idea why the images wont display in the QLPreviewController view

Code :

thanks in Advance

<img src=file:///Users/softech/Library/Application%20Support/iPhone%20Simulator/7.1/Applications/AAAC0AD7-C18A-4D42-8FEF-9755F257ED78/Documents/Members/1.png width=100 height=100 />Ziad Bou Ismail
I think you must provide 'px' to your width and height:Andranik
it did not work ..it show empty image with border well defined according to width and height but there is not image.Ziad Bou Ismail
<img src="file:///Users/softech/Library/Application%20Support/iPhone%20Simulator/7.1/A‌​pplications/AAAC0AD7-C18A-4D42-8FEF-9755F257ED78/Documents/Members/1.png" width="100px" height="100px" />Andranik