Closed (fixed)
Project:
Image Zoom
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2014 at 15:13 UTC
Updated:
17 May 2015 at 20:54 UTC
Jump to comment: Most recent

Comments
Comment #1
andyg5000Changing to a feature request because it'd be nice to specify your settings overrides in the field formatter which I don't believe is currently possible.
In the meantime, you can override the js and include your own settings for the plugin by doing the following:
* Create an imagezoom.js in your theme directory
* Add scripts[] = imagezoom.js
* Write your own selectors and init the plugin on them with your overrides.
* Note, you'll need to make sure you have a selector and elevateZoom() init for everywhere you want the image zoom to happen.
Comment #2
davisbenIn the 7.x-2.x version, there is hook_imagezoom_settings_alter() that allows you to change the settings that are sent to the elevatezoom plugin. I added imagezoom.api.php to document that hook.