Hi devs,

Currently when we import an office presentation the office importer 
module generates an image for each slide and inserts it into the wiki 
syntax:

image:myPresentation-slide0.jpg
...
image:myPresentation-slideN.jpg

Some users have complained that:
* when the presentation has many slides (e.g. 100) the page is heavy 
because all the slide images are requested at page load time.
* there's no way to switch slides using an user friendly UI. See 
http://jira.xwiki.org/jira/browse/XWIKI-5785 .

One simple way to fix this is to group the images and to add a class 
name to the group. Then it will be easy to integrate an image gallery 
that replaces the group (found by its class name).

I made a simple image gallery to demonstrate this. Please check 
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/OfficePresentationViewer
 
.

The class name used by the office importer module should be configurable 
and should have a default value (e.g. "gallery"). The office viewer 
macro can then be changed to have an optional cssClass parameter.

It would be nice if the office importer/viewer would also use a default 
image gallery, i.e. request on demand the JavaScript code and the CSS 
for the default image gallery when the class name (e.g. cssClass 
parameter) is not specified.

WDYT?

Thanks,
Marius
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to