OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] mediaobject, image with two sizes?


> Input, mediaobject containing imageobject, a jpg graphic.
> I'd like (if it's possible) to have a 'moderate' size image
> that fits the screen, say 800x600.
> Then, at user action to 'expand' that to full size, say 2000x1500 or
> something greater than screen size.

I'd suggest keeping two versions of the image. 
The larger can be displayed:
1) using the basic URL link (in the same/new tab/window)
2) as overlay using lightbox javascript libraries
3) as replacement of the original image (java script manipulation of the
original HTML code)
4) ...

All this requires customizations of the process.image template.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]