Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, January 2008
Webkit feedback


Message 1 in thread

Hello There,
I am developing an test application using Qt4.4 technology preview. In 
the application i need to display some off line HTML pages stored on 
local machine. I am facing a problem in giving image paths in relative 
manner.
In HTML source if i write "  <img src = "Images/Strip1.jpg ">  " it is 
not displaying image.
In HTML source if i write "  <img src = "C:/Data/Images/Strip1.jpg ">  " 
it is not displaying image.
In HTML source if i write "  <img src = "C:\Data\Images\Strip1.jpg ">  " 
it is not displaying image.
In HTML source if i write "  <img src = 
"file:///C:/Data/Images/Strip1.jpg ">  " it is displaying image well.
In HTML source if i write "  <img src = 
"file:///www.yahoo.com/files/Images/Strip1.jpg ">  " it is displaying 
image well.
In HTML source if i write "  <img src = 
"HTTP://www.yahoo.com/files/Images/Strip1.jpg ">  " it is displaying 
image well.

So please tell me what can i do to display any image with relative path 
in HTML source.

Best Regards,
Yogesh Sharma

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx