Task #625
GWT: x.x, Edition, add zoom and drag utilities to facsimile images
Status: | Closed | Start date: | 02/19/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% |
|
Category: | - | Spent time: | - | |
Target version: | Portal 0.6 | Estimated time: | 1.00 hour |
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)
History
#1 Updated by Matthieu Decorde almost 7 years ago
- Estimated time set to 1.00
#2 Updated by Alexey Lavrentev almost 7 years ago
- Description updated (diff)
#3 Updated by Matthieu Decorde almost 7 years ago
- % Done changed from 0 to 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 Updated by Alexey Lavrentev almost 7 years ago
Please specify where the attribute onLoad should be added (img ?)
#5 Updated by Matthieu Decorde almost 7 years ago
<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 Updated by Alexey Lavrentev almost 7 years ago
- Status changed from New to Closed
- % Done changed from 50 to 100
OK on BFM Portal