I'm having trouble running the photo album as described the the WebKit
tutorial.

I can use view source in Mozilla to see that WebKit generates the html
without a hitch. But Mozilla doesn't display the thumbnail correctly. 
It flashes on the screen for a split second, then vanishes to be
replaced by a very small blue rectangle.  However, if I save the html to
a file, then open it in Mozilla, everything looks fine.

I though maybe I should add:

im.fp.close()

to the for loop in writeContent, but it doesn't make any difference.

I'm stuck.

Here's the HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
        <title>Photo Album29</title>
</head>
<body color=black bgcolor=white>

<h1>Sizes of your pictures:</h1>

<p><a href="View?filename=/home/ggeller/WebwareTest/pics/89898_03.jpg"><img 
src="/home/ggeller/WebwareTest/pics/89898_03.jpg" width="150" height="100"></a></p>
</body>
</html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
        <title>Photo Album29</title>
</head>
<body color=black bgcolor=white>

<h1>Sizes of your pictures:</h1>

<p><a href="View?filename=/home/ggeller/WebwareTest/pics/89898_03.jpg"><img 
src="/home/ggeller/WebwareTest/pics/89898_03.jpg" width="150" height="100"></a></p>
</body>
</html>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to