File: test-converted.html

package info (click to toggle)
imgsizer 2.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: xml: 279; python: 182; makefile: 124
file content (30 lines) | stat: -rw-r--r-- 1,232 bytes parent folder | download
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
<html><head><title>Imgsizer Testfile</title></head><body>
Error: no src-tag<br>
<img ><hr>
Warn: no quotes (we don't insert them)<br>
<img src=test.png width="320" height="200"><hr>
A tag (alt), which should be skipped by imgsize<br>
<img src="test.png" alt="Dummy Picture" width="320" height="200"><hr>
Warn: whitespace<br>
<img    src = "test.png" width="320" height="200"><hr>
Warn: whitespace and a newline<br>
<img    src = "test.png"         
 width="320" height="200"><hr>
Ok: relative URL<br>
<img src="test.png" width="320" height="200"><hr>
Ok: also relative<br>
<img src="../imgsizer-1.2/test.png"><hr>
Don't overwrite an existing single width-tag<br>
<IMG src="test.png" WIDTH="320" HEIGHT="200">Imgsizer should calculate the height-tag<hr>
Warn: A single existing height-tag<br>
<img src="test.png" width="320" height="200">should be ignored and overwritten.<hr>
Both tags given: Don't overwrite anything<br>
<img src="test.png" width="320" height="200"><hr>
Paranoia ;-)<br>
<img src="test.png" width="320" height="200"><hr>
A given relative width<br>
<img src="test.png" width="50%">the img should be skipped.<hr>
Try a JPEG
<img src="tnhd2.jpg" width="381" height="599">
</body></html>
<!-- shipper: ignore this -->