title: Images with https in mpdf
body: <p>I am using MPDF to generate a pdf with images. With http:// all works fine, but after changing my whole site to https:// I only get red crosses where the images should appear.</p>
  
  <p>If I watch the generated file as html version, the images are all there, with https://, but in the generated PDF they are just not shown.</p>
  
  <p>Any hint?</p>
  
  <p>UPDATE:
  Error was because of CURL
  ("SSL certificate problem: unable to get local issuer certificate")</p>
  
  <p>It was resolved by adding <code>curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);</code>
  to mpdf.php</p>
  
  <p>Answer was found here:
  <a href="https://stackoverflow.com/questions/24611640/curl-60-ssl-certificate-unable-to-get-local-issuer-certificate">curl: (60) SSL certificate : unable to get local issuer certificate</a></p>
  
  <p>Dirty Way: <a href="https://stackoverflow.com/questions/5657382/curl-php-restful-service-always-returning-false">cURL PHP RESTful service always returning FALSE</a></p>