On 09/03/2010 03:54 PM, Anca Luca wrote:
On 09/03/2010 03:31 PM, Kaya Saman wrote:
Hi,
I've attached 2 images to a page of which I want to have the smaller
image (web image) displayed on the actual page but when clicked on a
larger image appearing.
This is actually quite simple:
edit page in wysiwyg
go to image menu, say insert image, select the small image and insert it
in the page
click the image in the wysiwyg (so that you select it)
you know it's selected
when it has the little square handles around the
corners (which you'd normally pull to change size of image)
go to link menu, create link to attached file
select the large image to link to it
say ok (save).
actually this button is "Create Link"
Save the page, you should now have a link to the large image under the
small image.
Is this doing what you want to do?
The other thing I was considering to do would be to float the larger
version of the image over the smaller one when the mouse cursor roles
over the smaller image. Sort of like on the Google search engine if you
understand what I'm tying to say??
If I understand correctly what you're trying to say, this one would
require a bit of javascript coding to implement this display of larger
image on hover.
Happy xwiki-ing,
Anca
I've had a look here:
http://code.xwiki.org/xwiki/bin/view/Macros/ImageMacro
which looks interesting but then I read through this:
http://platform.xwiki.org/xwiki/bin/view/Features/Attachments
which states that the *image macro* isn't needed needed anymore when
using XWiki 2.0 syntax.....
I am a little confused as to how to go about this.
It is quite easy to create a new page and attach the larger image in
there but I think that defeats the purpose no?? Basically it's the wrong
way of doing things I feel??
Any advise would be really great.
Thanks!!
Kaya
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users