19.03.2010, 11:01
|
#1 (permalink)
|
| PostRank: 0
Registriert seit: 11.03.2010
Beiträge: 11
| Nextgengalery - imagebrowser.php Hallo!
Für meine Galerie habe ich mich für die Darstellug der vollfarmatige Bilder für den Tag [imagebrowser id=x] entschieden. Alles bestens, nur das Bild kann angecklickt werden und erscheint dann in ein völliges leeres neues Browserfenster. Und das möchte ich nicht. Wie behebe ich das Problem?
Ich schätze das liegt im imagebrowser.php code, aber wo, und vor allem bin mir dessen nicht sicher... PHP-Code: <?php /** Template Page for the image browser
Follow variables are useable :
$image : Contain all about the image $meta : Contain the raw Meta data from the image $exif : Contain the clean up Exif data $iptc : Contain the clean up IPTC data $xmp : Contain the clean up XMP data
You can check the content when you insert the tag <?php var_dump($variable) ?> If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?> **/ ?> <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($image)) : ?>
<div class="ngg-imagebrowser" id="<?php echo $image->anchor ?>">
<div class="pic"><?php echo $image->href_link ?></div>
<h3><?php echo $image->alttext ?> <?php echo $image->description ?></h3>
<div class="ngg-imagebrowser-nav"> <div class="back"> <a onFocus="blur()" class="ngg-browser-prev" id="ngg-prev-<?php echo $image->previous_pid ?>" href="<?php echo $image->previous_image_link ?>">◄ <?php _e('Back', 'nggallery') ?></a> </div>
<div class="next"> <a onFocus="blur()" class="ngg-browser-next" href="http://localhost/wordpress/?page_id=60">ZU DEN GALERIEN</a> </div>
<div class="next"> <a onFocus="blur()" class="ngg-browser-next" id="ngg-next-<?php echo $image->next_pid ?>" href="<?php echo $image->next_image_link ?>"><?php _e('Next', 'nggallery') ?> ►</a> </div>
<div class="ngg-imagebrowser-desc"></div> </div>
</div>
<?php endif; ?> Hat jemand eine Idee? mit oder ohne Glaskugeln?
Grüße |
| |