ich habe die verlinkung eingefügt in templates/standart/index.tpl
- Code: Alles auswählen
<script language="JavaScript" type="text/javascript" src="<?=URLPFAD?>lytebox.js"></script>
<link rel="stylesheet" type="text/css" href="<?=URLPFAD?>lytebox.css" media="screen" />
</head>
ich habe die bilder in shop/images eingefügt
ich habe geändert in themes/kategorie/detail.php von
- Code: Alles auswählen
// kleines Bild mit Vergroesserung
if ($ArtikelObject->imagesmall_imagestring && $ArtikelObject->imagebig_imagestring) {
$tpl_image_show = true;
$tpl_lupe_show = true;
$tpl_imagesmall_string = "<a href=\"javascript:openFenster('" . IMAGEPFAD . "dbimages/" . $ArtikelObject->bigImage . "','" . ($ArtikelObject->imagebig_width + 20). "','" . ($ArtikelObject->imagebig_height + 20) . "'); \">" . $ArtikelObject->imagesmall_imagestring . "</a>";
$tpl_imagelupe_string = "<a href=\"javascript:openFenster('" . IMAGEPFAD . "dbimages/" . $ArtikelObject->bigImage . "','" . ($ArtikelObject->imagebig_width + 20). "','" . ($ArtikelObject->imagebig_height + 20) . "');\">" . $lang_lupe . "</a>";
}
// kleines Bild ohne Vergroesserung
if ($ArtikelObject->imagesmall_imagestring && !$ArtikelObject->imagebig_imagestring) {
$tpl_image_show = true;
$tpl_lupe_show = false;
$tpl_imagesmall_string = $ArtikelObject->imagesmall_imagestring;
// kein Bild
} else {
$tpl_image_show = false;
$tpl_lupe_show = false;
}
auf
- Code: Alles auswählen
$tpl_imagesmall_string = "<a href=\"" . IMAGEPFAD . "dbimages/" . $ArtikelObject->bigImage . "\" rel=\"lytebox[detail]\" title=\"" . $tpl_artikelname . "\">" . $ArtikelObject->imagesmall_imagestring . "</a>";
// kleines Bild ohne Vergroesserung
if ($ArtikelObject->imagesmall_imagestring && !$ArtikelObject->imagebig_imagestring) {
$tpl_image_show = true;
$tpl_lupe_show = false;
$tpl_imagesmall_string = $ArtikelObject->imagesmall_imagestring;
// kein Bild
} else {
$tpl_image_show = false;
$tpl_lupe_show = false;
}
was hab ich falsch gemacht?