PluginAlbumPhotos

Description

Faire un album en affichant un ensemble de photos dont la liste est un fichier de texte avec des descriptions optionnelles.

Usage

<?plugin PhotoAlbum
         src=http://server/textfile
         mode=[column|row]
         align=[center|left|right]
         desc=true
         sort=false
         height=100%
         width=100%
         weblocation=>false
?>

Arguments

src
weblocation
mode
'column' signifie verticalement, 'row''row'.
align
'center'.
desc
sort
height, width
Height and width are calculated compared to original metrics retrieved by php-function:getimagesize and can be absolute or a percentage (e.g. "50%").

Exemples

Fichier texte

Contenu possible d'une fichier texte valide :


Exemple d'album

Dossier local :

BeachPalmDusk.jpg

BeachPalmDusk.jpg

Coastline.jpg

Coastline.jpg

HawaiiMauiFromSpace.jpg

HawaiiMauiFromSpace.jpg

LavaTwilight.jpg

LavaTwilight.jpg

LoihiSeamount.jpg

LoihiSeamount.jpg

SteamVolcanoDusk.jpg

SteamVolcanoDusk.jpg

SubmersiblePiscesV.jpg

SubmersiblePiscesV.jpg

SwimmingPoolWater.jpg

SwimmingPoolWater.jpg

Waterfall.jpg

Waterfall.jpg

WhaleRainbow.jpg

WhaleRainbow.jpg

<?plugin PhotoAlbum
         src="http://phpwiki.sourceforge.net/demo/themes/Hawaiian/images/pictures/PhotoAlbum.csv"

?>

Auteur

Ted Vinke <teddy@jouwfeestje.com>


DocumentationDePhpWiki PluginWiki