File: image_remote.html

package info (click to toggle)
php-dompdf 0.6.1%2Bdfsg-2~bpo70%2B2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 4,200 kB
  • sloc: php: 19,599; makefile: 38; sh: 13
file content (41 lines) | stat: -rw-r--r-- 1,492 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" href="https://github.com/dompdf/dompdf/raw/master/www/style.css" type="text/css"/>
<style>
#content {
  margin: 0.25in;
  width: 100%;
}
</style>
</head>
<body>
<div id="content">
<h2>Remote CSS &amp; Image Test</h2>
<p>Note: DOMPDF_ENABLE_REMOTE must be enabled for this test to work.</p>

<h3>CSS: <a href="https://github.com/dompdf/dompdf/raw/master/www/style.css">https://github.com/dompdf/dompdf/raw/master/www/style.css</a></h3>
<p>
	Remote image with extension: <br />
	<img src="https://github.com/dompdf/dompdf/raw/master/www/test/images/dompdf_simple.png"/>
</p>
<p>
  Remote image without extension: <br />
  <img src="https://github.com/dompdf/dompdf/raw/master/www/test/images/no_extension"/>
</p>
<p>
  Remote image with unknown extension: <br />
  <img src="https://github.com/dompdf/dompdf/raw/master/www/test/images/unknown_extension.foo"/>
</p>
<p>
  Remote image with unknown extension and params: <br />
  <img src="https://github.com/dompdf/dompdf/raw/master/www/test/images/unknown_extension.foo?bar=baz"/>
</p>
<p>
  Remote image with unknown extension and advanced params: <br />
  <img src="https://github.com/dompdf/dompdf/raw/master/www/test/images/unknown_extension.foo?bar=baz&amp;test[]=test space&amp;test[]=test%20space"/>
</p>
</div>
</body>
</html>