This is an archived forum post. The information may be outdated. Contact us if you have any questions.

PDF with broken links for Images

basemMO wrote on 2012-02-07:
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,
support wrote on 2012-02-07:
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
basemMO wrote on 2012-02-07:
Hi Support,

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

Problem resolved, thanks alot :)

regards,