Thank you and congradulations for the excelent module.

I have extended the cloud zoom functionality on my test server, so that when you click on the box in the image, you get the full image in a lightbox (i.e. the image zooms and fills the entire screen). See the attached screenshots.

If the maintainers, or the user community are interested in this functionality, I could upload a patch for it.

Plase vote up or down for this.

Comments

wjackson’s picture

Looks great! This would be very useful, please upload!

ranx’s picture

That would be a very nice feature to have indeed.

djv’s picture

Ok this is what i did:

1. I added the jquery-lightbox plugin to a new subfolder

2. Edited the cloudzoom javascript file so that it calls the lightbox function on click

3. Edited the could zoom module so that the lightbox js file is called. Also, added the paths of the image files to the javascript.

Here is the patch. Unfortunately git diff doesn't seem to be able to handle binary files, so the png files will probably not work. Also, the patch looks very big, because the cloudzoom js files are not part of the module, so the edited file is handled as a new one.

I also attach the source code since the patch will probably not work as it is.

vasrush’s picture

Looks great, thanks for uploading

It would be great if someone could patch it for D6.

liupascal’s picture

Thanks for the patch djv.

I'd like to get something like http://www.topshop.com/webapp/wcs/stores/servlet/ProductDisplay?beginInd...

Any pointers to get to this ? Any help would be much appreciated.

gonssal’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

The issue to look at for this is #1269026: Colorbox integration