[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: [mystics] HTML4, CSS-validated page - and image is not displayed!
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2001-10-23 15:50:27
[Download RAW message or body]

On Tuesday 23 October 2001 17:57, Vadim Plessky wrote:
|   On Tuesday 23 October 2001 12:28, Dirk Mueller wrote:
|   |   On Die, 23 Okt 2001, Vadim Plessky wrote:
|   |   > What's going on?
|   |   >
|   |   > wget http://htmltests.newmail.ru/vcss.gif
|   |
|   |   --14:25:35--  http://htmltests.newmail.ru/vcss.gif
|   |              => `vcss.gif'
|   |   Connecting to localhost:3128... connected!
|   |   Proxy request sent, awaiting response... 404 Not Found
|   |   14:25:44 ERROR 404: Not Found.
|
|   http://htmltests.newmail.ru/css/vcss.gif
|   so you should get it with wget or launching this URL from Konq.
|

These URLs demonstrate problem:
http://htmltests.newmail.ru/css/img-absent-BASE-wrong-HTML4-Strict.html
http://htmltests.newmail.ru/css/img-ok-BASE-deleted-HTML4-Strict.html
http://htmltests.newmail.ru/css/img-ok-BASE-htmltestst_css-HTML4-Strict.html

I had <base href="http://htmltests.newmail.ru/">
while correct BASE URL should be
<base href="http://htmltests.newmail.ru/css/">
so, it was searching IMGes in a wrong directory.

img-ok-* - shows images
img-ok-BASE-deleted-HTML4-Strict.html - even from local disk
img-ok-BASE-htmltestst_css-HTML4-Strict.html - only when placed on web, with 
URL above

img-absent-BASE-wrong-HTML4-Strict.html - can be treated as a simplified 
testcase for my problem

|   |   > New window with Konq opens, and image is *displayed* in that
|   |   > window. So, IMG src URL is pretty much valid.
|   |
|   |   euhm? that would be a bug then.
|
|   Can you try
|   http://htmltests.newmail.ru/css/vcss.gif
|   than
|   http://htmltests.newmail.ru/css/float-block-3-strict.html
|   and click with right mouse button on "Valid CSS!" link.
|   I have option "View Image(vcss.gif)", and selection this option
| successfully opens new Konq window with that file.

this means RMB action "View Image" was programmed in a _wrong_ way - it was 
not respecting BASE url. (and was showing image, instead of telling that file 
not found)
So, surprisingly, but ... this function needs fix.

|   See attached screenshot.
|
|   |   Dirk

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic