Needs review
Project:
Cloud Zoom
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 May 2012 at 03:44 UTC
Updated:
26 Oct 2020 at 12:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #0.0
FranCarstens commentedFound improved, updated version of Javascript file.
Comment #1
satvision83 commented+1
It would be great to see this feature on the mobile devices.
Comment #2
FranCarstens commentedSatvision,
Using the information I found I did create a working version which can be found here:
http://drupal.org/node/1195864#comment-5992592
Not sure if there's been any progress outside of that.
Comment #2.0
FranCarstens commentedForgot link
Comment #3
johnpitcairn commentedThe problem here is that we need to patch an external library to make this happen with Cloud Zoom 1.0.3, which is no longer officially available. We can't submit changes upstream as a result, and there is probably no chance of getting this into the module. Setting to "needs review" anyway ;-)
That said, here is a patch incorporating the relevant changes from @FranCarstens (not the extra inline css changes) against libraries/cloud_zoom. It patches both cloud-zoom.1.0.3.js and cloud-zoom.1.0.3.min.js.
Tested so far with Commerce Kickstart 2 on Android 5 and iPad iOS7, seems to work.
To apply, navigate to the cloud zoom library folder and initialize a git repository:
Now download the patch file to the cloud_zoom directory and:
git apply -vComment #4
johnpitcairn commentedI have forked the cloud zoom 1.0.3 library with the touch support patch applied, get it from github:
https://github.com/johnpitcairn/cloud-zoom
Comment #5
dakku commentedHi John. Thanks again for the patch. I am co-maintainer of this module and currently working on a drupal 8 port :)
I would like to include your patched version into the D8 module as an external JS dependency. Would you be ok with that?
Comment #6
johnpitcairn commentedAbsolutely, go ahead.
Comment #7
jamesfk commentedMany thanks, John - your repo worked perfectly :)