In my code I'm generating dynamically an HTML that referrers to a collection of images stored in the HD.
I set the the HTML with the function my_page.setHtml( my_html )
As a result my code works correctly under Linux and windows 7
but under Windows Vista don't load the images.
In the html I'm writing the full path of the images using the slash as a directory separator.
That's a portion of the HTML source generated by my code:
<table cellpadding="3" cellspacing="0" border="0" align="left" width="185">
<tr bgcolor="#000000"></tr>
<tr>
<td align="center" bgcolor="#090064"> <font size="12" color="#FFFFA7"> Photo 200</font> </td>
</tr>
<tr>
<td align="center" bgcolor="#090064">
<a href="#photo_200">
<img src="C:/Program Files/Images/200.jpg" width="136" height="178" alt="" />
</a>
</td>
</tr>
</table>
<table cellpadding="3" cellspacing="0" border="0" align="left" width="185">
<tr bgcolor="#000000"></tr>
<tr>
<td align="center" bgcolor="#090064"> <font size="12" color="#FFFFA7"> Photo 200</font> </td>
</tr>
<tr>
<td align="center" bgcolor="#090064">
<a href="#photo_200">
<img src="C:/Program Files/Images/200.jpg" width="136" height="178" alt="" />
</a>
</td>
</tr>
</table>
To copy to clipboard, switch view to plain text mode
Do you have some idea?
Bookmarks