PHP interesse |
|
Het eerste plaatje werkt wel goed maar de rest niet.
<?php do { ?>
<?php //image size test
$fotomap = "fotos/";
//fotomap + recordset
$foto .= $fotomap . $row_Recordset1['picurl'];
//Image size owne
list($width, $height, $type, $attr) = getimagesize($foto);
echo $width;
?>
<a href="#" onClick="javascript:window.open('fotos/<?php echo $row_Recordset1['picurl']; ?>', 'pop1win', 'toolbar=no scrollbars=no width=<?php echo $width; ?>,height=<?php echo $height; ?>')"><img src="thumbs/<?php echo $row_Recordset1['thumburl']; ?>" width="75" height="100" border="0"></a><br> </td>
</tr>
</table>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
<?php do { ?> <?php //image size test $fotomap = "fotos/"; //fotomap + recordset $foto .= $fotomap . $row_Recordset1['picurl']; //Image size owne ?> <a href="#" onClick="javascript:window.open('fotos/ <?php echo $row_Recordset1['picurl']; ?>', 'pop1win', 'toolbar=no scrollbars=no width= <?php echo $width; ?>,height= <?php echo $height; ?>')"><img src="thumbs/ <?php echo $row_Recordset1['thumburl']; ?>" width="75" height="100" border="0"></a><br> </td> </tr> </table>
Iemand een idee
|