bonjour,
J'ai créé une ibay pour mettre le dossier de ma mère qui a des soucis de santé.
Elle a paasé un scanner et j'ai copié le cd du scanner dans un répertoire de l'ibay
j'ai un html avec javacript : index.html
----
<html>
<head>
<style type='text/css'>
.link_bleu {font-size: 11px;
font-weight: 200;
color:#0000FF;
font-family: verdana}
.not_underlined {text-decoration: none}
</style>
<script language='JavaScript'>
function ShowTextJPEG()
{
if (document.getElementById('texte'))
document.getElementById('texte').innerHTML = "Cliquez sur ce lien pour visualiser les images du patient au format JPEG";
return;
}
function ShowTextDICOM()
{
if (document.getElementById('texte'))
document.getElementById('texte').innerHTML = "Cliquez sur ce lien pour visualiser les images du patient au format DICOM";
return;
}
function ShowTextCR()
{
if (document.getElementById('texte'))
document.getElementById('texte').innerHTML = "Cliquez sur ce lien pour visualiser le compte rendu pour ce patient";
return;
}
function ShowTextAide()
{
if (document.getElementById('texte'))
document.getElementById('texte').innerHTML = "Cliquez ici pour visualiser l\'aide sur l\'application DIAMCD";
return;
}
function ShowTextDefault()
{
if (document.getElementById('texte'))
document.getElementById('texte').innerHTML = "Cliquez sur l\'un des liens";
return;
}
function FullScreen(Page)
{
if (!navigator.javaEnabled()) window.open('JPG.HTM', 'DIAMCD', 'scrollbars=no');
if (navigator.appName.indexOf('Netscape') > -1) Navigateur = 'Netscape';
else if (navigator.appName.indexOf('Explorer') > -1 || navigator.appName.indexOf('IExplorer') > -1) Navigateur = 'IExplorer';
else Navigateur = 'Inconnu';
Version = parseFloat(navigator.appVersion);
if (navigator.appVersion.indexOf('Win') > -1) PlateForme = 'Windows';
else if (navigator.appVersion.indexOf('Macintosh') > -1) PlateForme = 'Macintosh';
else if (navigator.appVersion.indexOf('X11') > -1) PlateForme = 'Unix';
else if (navigator.appVersion.indexOf('Unix') > -1) PlateForme = 'Unix';
else if (navigator.appVersion.indexOf('Linux') > -1) PlateForme = 'Unix';
else PlateForme = 'Unknown';
if (PlateForme == 'Macintosh')
{
if (Navigateur == 'Netscape')
{
window.open(Page, 'DIAMCD', 'height='+window.screen.availHeight+', width='+(window.screen.availWidth)+', top=0, left=0, toolbar=no, status=no, location=no, menubar=no, directories=no');
return;
}
if (Navigateur == 'IExplorer')
{
window.open(Page, 'DIAMCD', 'height='+window.screen.availHeight+', width='+(window.screen.availWidth)+', top=0, left=0, toolbar=no, status=no, location=no, menubar=no, directories=no');
return;
}
}
if (PlateForme == 'Windows')
{
if (Navigateur == 'Netscape')
{
window.open(Page, 'DIAMCD', 'height='+window.screen.availHeight+', width='+(window.screen.availWidth)+', top=0, left=0, toolbar=no, status=no, scrollbars=no, location=no, menubar=no, directories=no');
return;
}
if (Navigateur == 'IExplorer')
{
window.open(Page, 'DIAMCD', 'height='+window.screen.availHeight+', width='+(window.screen.availWidth)+', top=0, left=0, toolbar=no, status=no, scrollbars=no, location=no, menubar=no, directories=no');
return;
}
}
window.open(Page, 'DIAMCD', '');
return;
}
</script>
</head>
<body ONLOAD='javascript:ShowTextDefault()'>
<table align='center'>
<tr>
<td>
<table border=0 align='center' cellspacing=3 cellpadding=0 BGCOLOR='#F4F6FC'>
<tr>
<td colspan=2>
<img border='0' src='DICOM/PA1/ST1/ENTETE.GIF' width='610' height='80'>
</td>
</tr>
<tr>
<td valign='top'>
<table border=0 align='center' cellspacing= cellpadding=0>
<tr>
<td>
<a class=not_underlined href='#' onClick="FullScreen('DICOM/PA1/ST1/DIC.HTM')" onMouseOut='javascript:ShowTextDefault()' onMouseOver='javascript:ShowTextDICOM()'><img border='0' src='ICONES/DIC.GIF' width='347' height='109'>
<img border='0' src='DICOM/PA1/ST1/SE1/ICON.JPG' height='100'>
</a><br>
</td>
</tr>
<tr>
<td>
<a class=not_underlined href='#' onClick="FullScreen('IHE_PDI/JPG.HTM')" onMouseOut='javascript:ShowTextDefault()' onMouseOver='javascript:ShowTextJPEG()'><img border='0' src='ICONES/JPG.GIF' width='348' height='100'>
<img border='0' src='IHE_PDI/PA1/ST1/SE1/ICON.JPG' height='100'>
</a><br>
</td>
</tr>
<tr>
<td>
<a href='#' onClick="FullScreen('AIDE.HTM')" onMouseOut='javascript:ShowTextDefault()' onMouseOver='javascript:ShowTextAide()'><img border='0' src='ICONES/AIDE.GIF' width='486' height='25' align=right></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>
<table border='2' cellpadding='2' cellspacing='0' width='150' height='200' bordercolor='#C0C0C0'>
<tr>
<td height='15' align='center'><p align='center'><font face='Verdana' size='1'>Instructions :</font></td>
</tr>
<tr>
<td ID='texte' align='center'><p align='center'><font face='Verdana' size='1'></font></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
----
J'ouvre l'ibay mamy dans nautilus (gestionnaire de fichiers)
Je lance index.html.
file:///run/user/1000/gvfs/smb-share:server=tux,share=mamy/html/scanner_echographie/scanner-20160127/DIAMCD/index.htm
Je vois les icones des images
Quand le l'ouvre avec iceweasel via mon site
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/linux-nuts.com 10.97.1.41 - mamy [12/Feb/2016:16:44:44 +0100] "GET /mamy/scanner_echographie/scanner-20160127/DIAMCD/ICONES/DIC.GIF HTTP/1.1" 404 261 "
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0"
linux-nuts.com 10.97.1.41 - mamy [12/Feb/2016:16:44:44 +0100] "GET /mamy/scanner_echographie/scanner-20160127/DIAMCD/ICONES/JPG.GIF HTTP/1.1" 404 261 "
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0"
linux-nuts.com 10.97.1.41 - mamy [12/Feb/2016:16:44:44 +0100] "GET /mamy/scanner_echographie/scanner-20160127/DIAMCD/IHE_PDI/PA1/ST1/SE1/ICON.JPG HTTP/1.1" 404 275 "
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0"
linux-nuts.com 10.97.1.41 - mamy [12/Feb/2016:16:44:44 +0100] "GET /mamy/scanner_echographie/scanner-20160127/DIAMCD/DICOM/PA1/ST1/ENTETE.GIF HTTP/1.1" 404 271 "
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0"
linux-nuts.com 10.97.1.41 - mamy [12/Feb/2016:16:44:44 +0100] "GET /mamy/scanner_echographie/scanner-20160127/DIAMCD/DICOM/PA1/ST1/SE1/ICON.JPG HTTP/1.1" 404 273 "
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0"
linux-nuts.com 10.97.1.41 - mamy [12/Feb/2016:16:44:44 +0100] "GET /mamy/scanner_echographie/scanner-20160127/DIAMCD/ICONES/AIDE.GIF HTTP/1.1" 404 262 "
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/" "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0"
je suis avec des erreurs 404.
Si je clique sur une des cases :
il m'ouvre une autre fenêtre
----
Not Found
The requested URL /mamy/scanner_echographie/scanner-20160127/DIAMCD/IHE_PDI/JPG.HTM was not found on this server.
----
C'est comme s'il n'avait pas accès au sous-répertoire de l'ibay
error.log
----
[Fri Feb 12 16:49:34 2016] [error] [client 10.97.1.41] File does not exist: /home/e-smith/files/ibays/mamy/html/scanner_echographie/scanner-20160127/DIAMCD/IHE_PDI, referer:
https://www.linux-nuts.com/mamy/scanner_echographie/scanner-20160127/DIAMCD/----
Il veut aller chercher à partir de /home/...
Si quelqu'un a une idée...
Merci
Anne