SPIP-Contrib

SPIP-Contrib

عربي | Deutsch | English | Español | français | italiano | Nederlands

289 Plugins, 197 contribs On SPIP-Zone, 49 visitors now

Home > Media > Galeries et diaporamas > MultiViewer Flash > Multiviewer Plugin modded to SPIP 1.9.2

Multiviewer Plugin modded to SPIP 1.9.2

8 July 2009 – by GezuS

All the versions of this article: [English] [français]

8 Votes

A modified version of the Plugin Multiviewer to SPIP 1.9.2
which incorporates the ImageRotator viewer.
Supplied with a full screen display Skeleton for Multiviewer Plugin.

An adaptation of the Multiviewer Plugin for SPIP 1.9.2

Plugin Multiviewer modifié Spip1.9.2 par Gezus

Download Multiviewer plugin for SPIP 1.9.2 modded by Gezus

  • I made this plugin compatible with SPIP 1.9.2 by modifiying the code
    Changes to version 1.0.3 of the plugin
  • Call to some functions used in the definition files and call of viewers (addon-viewer.php and MVW_definition_viewer.php) for compatibility issues.
  • Changing the swfobject.js Javascript file for compatibility issues.
  • Integration of Flash viewer imagerotator in the Multiviewer.
  • Addition of definition files and call for the Pro version of SimpleViewer: simpleviewerpro.
  • Changed parameters of tag #MULTIVIEWER to accept the new viewer: imagerotator and simpleviewerpro.
  • Configuration file of the plugin has also been modified to allow use for larger galleries in full screen, obviously it works well on my SPIP 1.9.2d install.

See an example of Multiviewer with large layout


A fullscreen skeleton for easy use of the Multiviewer Plugin

Squelette multiviewer par GezuS

Download Skeleton Multiviewer_skel.html by Gezus

See an example of multiviewer_skel used in full screen mode

-  I created a skeleton for the multiviewer to display in a full screen browser page.

The skeleton “multiviewer_skel” can display a web page containing only the viewer and 2 links at the top of web page : Go Full-screen / Exit.

The full-screen link opens a popup full page (adapted automatically to the resolution of the user) and stripped of unnecessary:
without toolbar, nor favorites, nor address bar, nor quick access buttons, nor menu, nothing!

As window behavior, parent window of the popup should close automatically after 5 seconds, leaving only popup stripped and ready for full screen.

In this popup, pressing F11 should lead to real full-screen in most browsers.

Default configuration of skeleton :

-  The skeleton only takes jpeg documents, but you can easily add the png and gif extensions to the loop.
-  The skeleton uses the viewer “SimpleViewer” by default, you can easily change it.

How to use this skeleton in a simple way

-  To create a link to the skeleton in article.html (or others skeleton pages) :
#URL_PAGE{multiviewer_skel, id_article = #ID_ARTICLE}

-  Or directly in text field of an article by creating a link to the following address :
spip.php?page=multiviewer_skel&id_article=#id_article
where #id_article is the id of current article.


To be improved:

The skeleton file is provided as-is, not finalized at all, it has not been tested much by lack of time.
Tested in Firefox and IE a bit, with Linux and Windows on a PC and mac, it behaves well enough to use the full screen ... I have not yet managed to activate the native support for full screen in viewer’s options.

Much to do in config files of viewers, apparently they bear a lot of parameters

Actually the plugin loads the photos from the directory /IMG/spip. Instead, it would be interesting to load instead thumbnails versions of images using the directory /local/cache-vignettes/ in order to improve loading times.
The viewers have a specific parameter for setting thumbnail’s directory and this setting seems not supported by multiviewer plugin for now.


Thanks to C. Boutin for his nice plugin,
and to F. Turner (airtightinteractive) for these rubbish flash viewers,
and J. Wijering for ImageRotator


See online : Source article on Gezus.homelinux.com (french language)

updated on 9 August 2009

Back to top

Comment on this article

Who are you?
  • [Log in]

To show your avatar with your message, register it first on gravatar.com (free et painless) and don’t forget to indicate your Email addresse here.

Enter your comment here Les choses à faire avant de poser une question (Prolégomènes aux rapports de bugs. )
Add a document

Back to top

Here they're talking

  • (fr) Convertir un site SPIP 3 en utf-8 avec le plugin Grenier

    8 janvier 2014 – 21 commentaires

    SPIP 3 fonctionne nativement avec l’encodage universel unicode utf-8. Sur certains sites (par exemple sur une mise à jour), on peut avoir un site qui est resté en iso-latin ce qui n’est pas conseillé (source de bugs, d’incompatibilité, ...) . (...)

  • (fr) Twitter

    17 juin 2013 – 88 commentaires

    Un plugin qui facilite l’intégration de Twitter dans un site SPIP et permet : d’envoyer facilement des messages avec un ou plusieurs comptes Twitter d’afficher des Widgets standards dans le site public (qui respectent la vie privée des visiteurs) (...)

  • (fr) Story (HTML5UP)

    17 mai – 11 commentaires

    Squelette SPIP "onepage" pour intégrer le thème Story de HTML5UP https://html5up.net/story Ce squelette permet de réaliser très simplement des sites de type "one page" sans toucher une ligne de code. Site de démonstration Installation A (...)

  • (fr) Le Couteau Suisse

    4 mai 2007 – 1848 commentaires

    Ce plugin propose d’introduire facilement de simples fonctionnalités supplémentaires à SPIP et qui s’avèrent rapidement indispensables ! Par exemple : le contrôle de nombreuses variables « cachées » de SPIP, des améliorations ou facilités typographiques, (...)

  • (fr) LIM : alléger l’espace privé

    20 avril 2015 – 45 commentaires

    Ce plugin permet de désactiver l’affichage de blocs ou de boutons, présents par défaut dans SPIP mais qui peuvent devenir inutiles dans le cadre de votre projet. Il allège du coup l’interface d’édition et supprime d’éventuels risques de confusion dans (...)