ht81 schrieb:"QLOCKTWO"... Schwierigkeit hierbei ist, das die Bilder mit Uhrzeiten Verknüpft werden müsste. Also wenn Uhrzeit 18.00 zeige Bild 1800.jpg, wenn Uhrzeit 18:05 zeige Bild 1805.jpg etc....
Oder hat jemand schon einen Code, den man etwas anpassen könnte?
<html>
<head>
<META HTTP-EQUIV="REFRESH" CONTENT="20">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Qlocktwo als eingfügtes Bild in HTML</title>
</head>
<body>
<img src=indexQlocktwo.php>
</body>
</html>
@dampfkessel83
Das sieht echt nach ordentlich Arbeit aus, sieht gut aus.
...gibt es eigentlich auch eine Möglichkeit, Fotos im Hochformat als Hintergrundbild vernünftig anzuzeigen?...
$backgroundcol = ImageColorAllocate($im, 0, 0, 0); //schwarz anstatt weiß
...
list($orig_width, $orig_height) = getimagesize($bgimagefile);
...
$orig_ratio = $orig_width/$orig_height;
if ($bg){
if($orig_ratio >= 1){
//querformat
imagecopyresampled($im, $bg, 0, 0, 0, 0, $image_width, $image_height, imagesx($bg), imagesy($bg));
} else {
//hochformat
imagecopyresampled($im, $bg, ($image_width-$orig_width)/2, 0, 0, 0, $orig_width, $image_height, imagesx($bg), imagesy($bg));
}
}
...
nicht schlecht habe ich schon mal gesehen, mich würde auch mal interessieren ob den jmd. hat!
[Edit frank_m24: Ich hab schion viele dumme Vollzitate entfernt, aber eines mit Hinweis auf die Forumregeln ist besonders dumm ...]