Hallo Jörg,
ich habe z.B. in das Template "news_full" das Lupen-Icon direkt rein geschrieben. Die Lupe wird nur angezeigt, wenn das Bild auch wirklich vergrößert werden kann.
Gegebenenfalls wären die entsprechenden Templates ebenfalls anzupassen.
Hier die Seite: http://www.kaldaha-vs.de
Und hier der Code des Templates:
PHP-Code:
<div class="layout_full block<?php echo $this->class; ?>">
<h1><?php echo $this->newsHeadline; ?></h1>
<?php if ($this->hasSubHeadline): ?>
<h2><?php echo $this->subHeadline; ?></h2>
<?php endif; ?>
<p class="teaser"><?php echo $this->teaser; ?></p>
<div class="ce_text">
<?php if ($this->addImage): ?>
<div class="image_container"<?php if ($this->margin || $this->float): ?> style="<?php echo $this->margin . $this->float; ?>"<?php endif; ?>>
<?php if ($this->fullsize): ?><a href="<?php echo $this->href; ?>" title="<?php echo $this->caption; ?>" rel="lightbox"><?php endif; ?>
<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>" /><?php if ($this->fullsize): ?></a><?php endif; ?>
<?php if ($this->fullsize): ?>
<img class="zoom" src="tl_files/kaldaha/layout/lupe.gif" alt="" title="Bild vergrößern" height="22" width="22" />
<?php endif; ?>
<?php if ($this->caption): ?>
<div class="caption" style="width:<?php echo $this->arrSize[0]; ?>px;"><?php echo $this->caption; ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($this->hasMetaFields): ?>
<p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<?php echo $this->text; ?>
</div>
<?php if ($this->enclosure): ?>
<div class="enclosure">
<?php foreach ($this->enclosure as $enclosure): ?>
<p><img src="<?php echo $enclosure['icon']; ?>"<?php echo $enclosure['size']; ?> alt="<?php echo $enclosure['title']; ?>" class="mime_icon" /> <a href="<?php echo $enclosure['href']; ?>" title="<?php echo $enclosure['title']; ?>"><?php echo $enclosure['link']; ?></a></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
</div>
Vielleicht war es ja das, was du gesucht hast. Die Positionierung der Lupe erfolgt dann über CSS.
umsteiger
Lesezeichen