Pour enlever la bordure des images avec le thème Andreas, il suffit de modifier le code suivant dans le fichier style.css :
.entry img{
border: 1px solid #333;
par
.entry img{
border: 0px solid #333;
Et pour faire plaisir à Zip le code à ajouter dans le fichier comment.php pour faire apparaitre son gravatar :
if ( !empty( $comment->comment_author_email ) ) {
em>$md5 = md5( $comment->comment_author_email );
$default = urlencode( ‘http://use.perl.org/images/pix.gif’ );
echo « <img style=’float: right; margin-left: 10px;’ src=’http://www.gravatar.com/avatar.php?gravatar_id=$md5&size=60&default=$default’ alt=†/> »;
}
?>
juste avant l’instruction :
<?php comment_text() ?>
Update
2018/04/11
- Suite au problème du simple fichier php (SIF) qui n’affiche plus les images pour les CRASHs
- Options choisies :
- Affichage dans l’outil de visualisation d’images de base de NextGEN
- Album extend
2011/11/12
- Avec la version 1.9 impossible de faire fonctionner le slideshow style piclens qui fonctionne parfaitement avec la version 1.7.2 (qui tournait sur herve.rozc.free.fr)
Installation
Test du plugin WordPress NextGEN Gallery
Voir aussi le blog d’alexrabe.de et les exemples
[ nggallery id=2 template=galleryview images=0 ]
Avec l’option template=galleryview on obtient un messaged’erreur : Rendering of template gallery-galleryview.php failed
Le template est à placer dans le répertoire :
From : http://nextgen-gallery.com/templates/
« …
Custom templates are PHP files that can be stored in the folder nggallery, inside your theme directory. NextGEN gallery look up always first into this folder if there are the vaild template file. For example, if you are using the default WordPress theme then you can store a template file at :
/wp-content/themes/default/nggallery/gallery-sample1.php
To use now this template in a post or page you insert the tag:
[ nggallery id=x template=sample1 ]
… »
no images were found
[ nggallery id=2 template=carousel images=7 ]
no images were found
———————————————
[ singlepic template=galleryview id=x w=320 h=240 mode=watermark ]
no images were found
———————————————
[ imagebrowser id=x template=exif ]
no images were found
———————————————
[ slideshow id=x w=width h=height ]
no images were found
—————————————–
———————————————
[ slideshow id=x w=width h=height ]
no images were found
—————————————–
[ album id=x template=extend |compact ]
no images were found
———————————————
[ monoslideshow id=y w=450 h=350 ]
[monoslideshow id=2 w=450 h=350]