Welcome! Log In Create A New Profile

Advanced

PDF with broken links for Images

Posted by basemMO 
PDF with broken links for Images
February 07, 2012 01:26AM
Hello,

I'm using HTML code to to render PDF, code used to be working just fine having public actual links (full URL), like below, Now, i'm its gives broken images


below is html sample:

var htmlText = "<table><tr><td><img src=\"http://du-media.ae/dashboard/cur1.jpg\"></table></tr></td>"

Kindly advise,
Re: PDF with broken links for Images
February 07, 2012 01:41AM
Hello,

du-media.ae can't be resolved, please make sure the domain's DNS records are set properly. See also here.

$ curl -I http://du-media.ae/dashboard/cur1.jpg
curl: (6) Couldn't resolve host 'du-media.ae'


$ dig du-media.ae

; <<>> DiG 9.6-ESV-R4 <<>> du-media.ae
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 43144
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;du-media.ae.                   IN      A

;; AUTHORITY SECTION:
ae.                     2705    IN      SOA     ns1.aedns.ae. dns.aeda.ae. 2009645071 10800 900 604800 3600

;; Query time: 0 msec
;; SERVER: 207.192.69.5#53(207.192.69.5)
;; WHEN: Tue Feb  7 01:34:39 2012
;; MSG SIZE  rcvd: 84
Re: PDF with broken links for Images
February 07, 2012 03:13AM
Hi Support,

you're right, it seems that the's a problem with the du-media domain

Problem resolved, thanks alot :)

regards,
Sorry, only registered users may post in this forum.

Click here to login