je vous présente en avant première un plugin pour Krpano concocté dernièrement par mes soins.
C'est à la base un peu une fusion de mon travail récent de codage à propos de mon 'exposition virtuelle' (voir là: https://original.panophoto.info/viewtop ... 13&t=16125) et de l'amélioration du plugin 'swipe gallery' (voir ici: https://original.panophoto.info/viewtop ... 97&t=16126)... puis j'ai ajouté quelques petits trucs
ça donne donc une 'Responsive Scrollable Grid Photo Gallery' ou en bon français, une "Galerie photo à mise en page grillagée, adaptable et défilable"
Un exemple simple ici
Un exemple plus complexe là
J'en dis pas plus en vous laissant découvrir l'interface et les fonctionnalités un peu à l'aveugle... comme ça vous pourrez me dire si ça offre une utilisation assez intuitive (... et en espérant qu'il n'y ait pas trop de bug !!)
Je pense proposer ce plugin à 40euros sur le site de krpano (j'ai déjà contacté Klaus, et je prépare la page web pour ça)... il me semble que c'est un tarif raisonnable vis-à-vis des fonctionnalités et de la facilité d'intégration dans une visite virtuelle...
Voici le type de code à ajouter pour insérer une galerie:
Code : Tout sélectionner
<!-- include the file plugin for the responsive scrollable grid photo gallery -->
<include url="%SWFPATH%/plugins/rsgp_gallery.xml" />
<include url="%SWFPATH%/plugins/rsgp_gallery_style.xml" />
<!-- config -->
<gallery_settings display_combobox="true" />
<gallery_settings slideshow_time="4" />
<gallery_settings help_message1="Click on an image to enlarge it"
help_message2="Sweep screen up/down to change image"
help_message3="Click again on images to come back to gallery"
loading_text="Loading images..."
slideshow_text="Play / Stop Slideshow"
/>
<!-- Open gallery with a hotspot -->
<hotspot name="gallery_hotspot1" url="%SWFPATH%/plugins/gallery_icon.png" style="gallery_button_style" ath="-3" atv="-15" galleryname="gallery1" />
<!-- Gallery1 Data -->
<gallery name="gallery1" ratio="square" mode="fixedrow" maxlength="300" column_nbr="5" title="Animals photos"
bgcolor="0x00000" border_size="1" border_color="0xFFFFFF" display_title="true" display_image_title="both" display_preload="true" minimal_design="false" display_slideshow="true" >
<img name="img1" url="img/A1.jpg" short_title="Horse" second_title="Photo by Bryan Minear on Unsplash" />
<img name="img2" url="img/A2.jpg" short_title="Squirrel" second_title="Photo by Radoslaw Prekurat on Unsplash" />
<img name="img3" url="img/A3.jpg" short_title="Fox" second_title="Photo by Ray Hennessy on Unsplash" />
<img name="img4" url="img/A4.jpg" short_title="Turtle" second_title="Photo by Wexor Tmg on Unsplash" />
<img name="img5" url="img/A5.jpg" short_title="Macaw Parrot" second_title="Photo by Andrew Pons on Unsplash" />
<img name="img6" url="img/A6.jpg" short_title="Tiger" second_title="Photo by Jack Merlin on Unsplash" />
<img name="img7" url="img/A7.jpg" short_title="Goofy Puffin" second_title="Photo by Ray Hennessy on Unsplash" />
<img name="img8" url="img/A8.jpg" short_title="Flying Vulture" second_title="Photo by Мартин Тасев on Unsplash" />
<img name="img9" url="img/A9.jpg" short_title="Green Snake" second_title="Photo by Marius Masalar on Unsplash" />
<img name="img10" url="img/A10.jpg" short_title="Boyd’s Forest Dragon" second_title="Photo by David Clode on Unsplash" />
<img name="img11" url="img/A11.jpg" short_title="Koala" second_title="Photo by Vita Vilcina on Unsplash" />
<img name="img12" url="img/A12.jpg" short_title="Deer" second_title="Photo by Pedro Lastra on Unsplash" />
<img name="img13" url="img/A13.jpg" short_title="Heron" second_title="Photo by John Cobb on Unsplash" />
<img name="img14" url="img/A14.jpg" short_title="Oahu Sharks" second_title="Photo by Jakob Owens on Unsplash" />
<img name="img15" url="img/A15.jpg" short_title="Butterfly" second_title="Photo by Boris Smokrovic on Unsplash" />
</gallery>