Fotoalbum wordt niet weergegeven

Status
Niet open voor verdere reacties.

horstr

Gebruiker
Lid geworden
27 nov 2006
Berichten
115
Ik krijg het niet voor elkaar om een fotoalbum goed weer te geven.

Ik weet dat het niet zit in 2 php bestanden die het fotoalbum genereren omdat ik dezelfde bestanden ook op een andere website gebruik.

Ik denk ook dat het ligt aan dit php bestand maar ik weet niet waar:

het resulataat kan je hier zien: http://www.hoteldekat.nl/foto.php

foto.php:

PHP:
<html>
<head>
<title>Hotel de Kat</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (Hotel de Kat.psd) -->
<table border="0" width="100%" height="100%">
<tr>
<td width="100%" valign="middle" align="center" height="100%">
<table id="Table_01" width="800" height="600" border="0" valign="middle" cellpadding="0" cellspacing="0">
<tr>
<table id="Table_01" width="991" height="595" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="11">
            <font size="1">
            <a href="index.html">
			<img src="images/hoteldekat_01.jpg" width="990" height="54" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="54" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="7" rowspan="2">
            <font size="1">
            <a href="index.html">
			<img src="images/hoteldekat_02.jpg" width="489" height="66" alt="" border="0"></a></font></td>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_03f.jpg" width="460" height="41" alt=""></font></td>
		<td rowspan="16">
            <font size="1">
			<img src="images/hoteldekat_04.jpg" width="41" height="510" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="41" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
            <font size="1">
			<img src="images/hoteldekat_05.jpg" width="460" height="36" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td rowspan="14">
            <font size="1">
			<img src="images/hoteldekat_06.jpg" width="21" height="444" alt=""></font></td>
		<td colspan="3" rowspan="2">
            <font size="1"><a href="informatie.html">
			<img src="images/hoteldekat_07.jpg" width="145" height="22" alt="" border="0"></a></font></td>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_08.jpg" width="323" height="11" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="11" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="8">
            <font size="1">
			<img src="images/hoteldekat_09.jpg" width="91" height="164" alt=""></font></td>
		<td colspan="3" rowspan="11" background="images/hoteldekat_10.jpg" valign="top">
       <div style="overflow: auto; height: 350%; width: 649; padding: 10px">
       <p><font size="1"><span style="font-family:Verdana;color:black"><br>
            <?include "fotoalbum/fotoalbum.php";?>
            </span></font>
       </div>
        </td>
		<td rowspan="13">
            <font size="1">
			<img src="images/hoteldekat_11.jpg" width="43" height="433" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="11" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="tarieven.html">
			<img src="images/hoteldekat_12.jpg" width="145" height="25" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="reserveringen.php">
			<img src="images/hoteldekat_13.jpg" width="145" height="25" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="gastenboek.html">
			<img src="images/hoteldekat_14.jpg" width="145" height="23" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="23" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="contact.html">
			<img src="images/hoteldekat_15.jpg" width="145" height="24" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="24" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="foto.php">
			<img src="images/hoteldekat_16.jpg" width="145" height="25" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="links.html">
			<img src="images/hoteldekat_17.jpg" width="145" height="22" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="22" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_18.jpg" width="145" height="9" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="9" alt=""></font></td>
	</tr>
	<tr>
		<td rowspan="5">
            <font size="1">
			<img src="images/hoteldekat_19.jpg" width="7" height="269" alt=""></font></td>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_20.jpg" width="150" height="100" alt=""></font></td>
		<td rowspan="6">
            <font size="1">
			<img src="images/hoteldekat_21.jpg" width="79" height="299" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="100" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_22.jpg" width="150" height="19" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="19" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
            <font size="1">
			<img src="images/hoteldekat_23.jpg" width="150" height="100" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="82" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
            <font size="1">
			<img src="images/hoteldekat_24.jpg" width="649" height="68" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="18" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_25.jpg" width="150" height="50" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="50" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
            <a href="av.pdf">
			<img src="images/hoteldekat_26.jpg" width="136" height="30" alt="" border="0"></a></font></td>
		<td colspan="2">
            <font size="1">
			<img src="images/hoteldekat_27.jpg" width="42" height="30" alt=""></font></td>
		<td colspan="2">
            <font size="1">
			<img src="images/hoteldekat_28.jpg" width="591" height="30" alt=""></font></td>
		<td colspan="3">
            <font size="1">
            <a href="http://www.mr-dee-jay.nl">
			<img src="images/hoteldekat_29.jpg" width="142" height="30" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="30" alt=""></font></td>
	</tr>
	<tr>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="21" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="7" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="108" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="30" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="12" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="79" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="232" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="359" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="58" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="43" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="41" height="1" alt=""></font></td>
		<td></td>
	</tr>
</table>
	</tr>
</table><!-- End ImageReady Slices -->
<table border="0" width="100%">
  <tr>
    <td width="100%"><font size="1">&nbsp;</font></td>
  </tr>
</table>
</body>

Doe ik het als HTML dan stuit ik op een ander probleem namelijk dat de hele lyout verpest is. Ik heb de width en height beide even op 100 gezet maar dit bied geen resultaat:

het resulataat kan je hier zien: http://www.hoteldekat.nl/foto.html

HTML:
<html>
<head>
<title>Hotel de Kat</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (Hotel de Kat.psd) -->
<table border="0" width="100%" height="100%">
<tr>
<td width="100%" valign="middle" align="center" height="100%">
<table id="Table_01" width="800" height="600" border="0" valign="middle" cellpadding="0" cellspacing="0">
<tr>
<table id="Table_01" width="991" height="595" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="11">
            <font size="1">
            <a href="index.html">
			<img src="images/hoteldekat_01.jpg" width="990" height="54" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="54" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="7" rowspan="2">
            <font size="1">
            <a href="index.html">
			<img src="images/hoteldekat_02.jpg" width="489" height="66" alt="" border="0"></a></font></td>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_03f.jpg" width="460" height="41" alt=""></font></td>
		<td rowspan="16">
            <font size="1">
			<img src="images/hoteldekat_04.jpg" width="41" height="510" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="41" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
            <font size="1">
			<img src="images/hoteldekat_05.jpg" width="460" height="36" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td rowspan="14">
            <font size="1">
			<img src="images/hoteldekat_06.jpg" width="21" height="444" alt=""></font></td>
		<td colspan="3" rowspan="2">
            <font size="1"><a href="informatie.html">
			<img src="images/hoteldekat_07.jpg" width="145" height="22" alt="" border="0"></a></font></td>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_08.jpg" width="323" height="11" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="11" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="8">
            <font size="1">
			<img src="images/hoteldekat_09.jpg" width="91" height="164" alt=""></font></td>
		<td colspan="3" rowspan="11" background="images/hoteldekat_10.jpg" valign="top">
       <p><font size="1"><span style="font-family:Verdana;color:black"><br>
        <iframe src="fotoalbum/fotoalbum.php" width="100" height="100">
            </span></font>
       </div>
        </td>
		<td rowspan="13">
            <font size="1">
			<img src="images/hoteldekat_11.jpg" width="43" height="433" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="11" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="tarieven.html">
			<img src="images/hoteldekat_12.jpg" width="145" height="25" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="reserveringen.php">
			<img src="images/hoteldekat_13.jpg" width="145" height="25" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="gastenboek.html">
			<img src="images/hoteldekat_14.jpg" width="145" height="23" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="23" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="contact.html">
			<img src="images/hoteldekat_15.jpg" width="145" height="24" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="24" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="foto.php">
			<img src="images/hoteldekat_16.jpg" width="145" height="25" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="25" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1"><a href="links.html">
			<img src="images/hoteldekat_17.jpg" width="145" height="22" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="22" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_18.jpg" width="145" height="9" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="9" alt=""></font></td>
	</tr>
	<tr>
		<td rowspan="5">
            <font size="1">
			<img src="images/hoteldekat_19.jpg" width="7" height="269" alt=""></font></td>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_20.jpg" width="150" height="100" alt=""></font></td>
		<td rowspan="6">
            <font size="1">
			<img src="images/hoteldekat_21.jpg" width="79" height="299" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="100" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_22.jpg" width="150" height="19" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="19" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
            <font size="1">
			<img src="images/hoteldekat_23.jpg" width="150" height="100" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="82" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
            <font size="1">
			<img src="images/hoteldekat_24.jpg" width="649" height="68" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="18" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
			<img src="images/hoteldekat_25.jpg" width="150" height="50" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="50" alt=""></font></td>
	</tr>
	<tr>
		<td colspan="3">
            <font size="1">
            <a href="av.pdf">
			<img src="images/hoteldekat_26.jpg" width="136" height="30" alt="" border="0"></a></font></td>
		<td colspan="2">
            <font size="1">
			<img src="images/hoteldekat_27.jpg" width="42" height="30" alt=""></font></td>
		<td colspan="2">
            <font size="1">
			<img src="images/hoteldekat_28.jpg" width="591" height="30" alt=""></font></td>
		<td colspan="3">
            <font size="1">
            <a href="http://www.mr-dee-jay.nl">
			<img src="images/hoteldekat_29.jpg" width="142" height="30" alt="" border="0"></a></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="1" height="30" alt=""></font></td>
	</tr>
	<tr>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="21" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="7" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="108" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="30" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="12" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="79" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="232" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="359" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="58" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="43" height="1" alt=""></font></td>
		<td>
            <font size="1">
			<img src="images/spacer.gif" width="41" height="1" alt=""></font></td>
		<td></td>
	</tr>
</table>
	</tr>
</table><!-- End ImageReady Slices -->
<table border="0" width="100%">
  <tr>
    <td width="100%"><font size="1">&nbsp;</font></td>
  </tr>
</table>
</body>
 
PHP:
<?include "fotoalbum/fotoalbum.php";?>

hier zit waarschijnlijk de fout. Kijk maar eens naar de warning:

PHP:
Warning: include(www.hoteldekat/fotoalbum/fotoalbum.php) [function.include]: failed to open stream: No such file or directory in /usr/home/web/snl268463/foto.php on line 67

www.hoteldekat/fotoalbum/fotoalbum.php moet www.hoteldekat.nl/fotoalbum/fotoalbum.php zijn.

ik raad dus aan dit te doen:
PHP:
<?include "http://www.hoteldekat.nl/fotoalbum/fotoalbum.php";?>
 
Dit heb ik ook gedaan maar dan wordt de pagina niet geladen (het duurt zo lang dat ik het maar afbreek)
 
wat gebeurt er als je: /usr/home/web/snl268463/fotoalbum/fotoalbum.php invult?
 
het enige wat ik nog kan verzinnen, is dat je het zo doet:

<?php include('fotoalbum/fotoalbum.php');?>
 
ik ben niet zo thuis in php (:p) maar probeer dit eens:

vervang:
PHP:
<?include "fotoalbum/fotoalbum.php";?>

eens door

PHP:
<?include "./fotoalbum/fotoalbum.php";?>

anders zou ik zeggen

PHP:
<?include ("./fotoalbum/fotoalbum.php");?>

hoopelijk werkt er iets....:D
 
probeer het eerst eens zonder de map fotoalbum.

misschien dat hij daaropl hangt???
 
ja als je door linkt wel maar de foutmelding in foto.php is nog steeds niet goed.
stop ik de bestanden in een laag eronder dan krijg je ook de map IMAGES te zien en dat is niet de bedoeling. juist daarom is er een map gekomen zodat je dat niet ziet.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan