A Drupal 7 wrapper for the IIT Image Comparison Tool.
Install as usual, see this for further information.
Installing this module will cause three things to be automatically created:
- A flag called "Selected" (machine name: selected_images), with permissions to flag/unflag given to all authenticated users,
- A view at /selected (i.e. at URL http://DRUPAL_ROOT/selected) where users can see their own selected images, and
- A block that contains the IIT Viewer, and shows up only on at /selected.
A link to /selected ("My Selected Images") will appear on the Navigation menu, which is by default visible in the first sidebar.
After dragging two images into the IIT Image viewer, the "View Two Images", "Crop Sections", and "Show/Hide Grid" buttons are functional.
If a link other than "selected' is desired, the view link must be changed by navigating to admin/structure/views/view/iit_selected/edit and changing the url.
This same value must now be placed in the 'Show Block on specific pages' found at admin/structure/block/manage/agile_iit/iit_content/configure
If an image is suppplied to the view from any source other than the default, it must be configured. Configure the field within the Drupal views editor by adding an "image" formatter from the Formatter dropdown, linking the image to 'File" if the image is to be linked to the original asset, and adding custom Style Settings.
Choose Customize field HTML, Create a CSS class, and adding 'iit-thumb ui-thumb'