Task #625
GWT: x.x, Edition, add zoom and drag utilities to facsimile images
Statut: | Closed | Début: | 19/02/2014 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | - | Temps passé: | - | |
Version cible: | Portal 0.6 | Temps estimé: | 1.00 heure |
Description
See the spec (FR): https://groupes.renater.fr/wiki/txm-info/public/specs_production_editions
By default, the image must fit the tab width (within min & max limits)
(cf. #596)
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- Temps estimé mis à 1.00
#2 Mis à jour par Alexey Lavrentev il y a plus de 11 ans
- Description mis à jour (diff)
#3 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- % réalisé changé de 0 à 50
Add the "Simple Viewer beta 1.1" JS scripts include in TXMWEB.jsp page header
This script enable zooming and panning to images which declare the onLoad attribute :
onLoad="new viewer({image: this, frame: ['100%','100%']});"
The "Simple Viewer beta 1.1" script has been modified to not fit the image to the containing frame.
#4 Mis à jour par Alexey Lavrentev il y a plus de 11 ans
Please specify where the attribute onLoad should be added (img ?)
#5 Mis à jour par Matthieu Decorde il y a plus de 11 ans
<img src="..." alt="..." style="display:block;width:100%;min-width:310px;max-width:620px" onLoad="viewer.toolbarImages='images/toolbar';viewer.onload=viewer.toolbar;new viewer({image: this, frame: ['100%','100%']});"></img>
#6 Mis à jour par Alexey Lavrentev il y a plus de 11 ans
- Statut changé de New à Closed
- % réalisé changé de 50 à 100
OK on BFM Portal