image_remote.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <link rel="stylesheet" href="http://dompdf.googlecode.com/svn/trunk/dompdf/www/style.css" type="text/css"/>
  6. <style>
  7. #content {
  8. margin: 0.25in;
  9. width: 100%;
  10. }
  11. </style>
  12. </head>
  13. <body>
  14. <div id="content">
  15. <h2>Remote CSS &amp; Image Test</h2>
  16. <p>Note: DOMPDF_ENABLE_REMOTE must be enabled for this test to work.</p>
  17. <h3>CSS: <a href="http://dompdf.googlecode.com/svn/trunk/dompdf/www/style.css">http://dompdf.googlecode.com/svn/trunk/dompdf/www/style.css</a></h3>
  18. <p>
  19. Remote image with extension: <br />
  20. <img src="http://dompdf.googlecode.com/svn/trunk/dompdf/www/test/images/dompdf_simple.png"/>
  21. </p>
  22. <p>
  23. Remote image without extension: <br />
  24. <img src="http://dompdf.googlecode.com/svn/trunk/dompdf/www/test/images/no_extension"/>
  25. </p>
  26. <p>
  27. Remote image with unknown extension: <br />
  28. <img src="http://dompdf.googlecode.com/svn/trunk/dompdf/www/test/images/unknown_extension.foo"/>
  29. </p>
  30. <p>
  31. Remote image with unknown extension and params: <br />
  32. <img src="http://dompdf.googlecode.com/svn/trunk/dompdf/www/test/images/unknown_extension.foo?bar=baz"/>
  33. </p>
  34. <p>
  35. Remote image with unknown extension and advances params: <br />
  36. <img src="http://dompdf.googlecode.com/svn/trunk/dompdf/www/test/images/unknown_extension.foo?bar=baz&amp;test[]=test space&amp;test[]=test%20space"/>
  37. </p>
  38. </div>
  39. </body>
  40. </html>