You are here

README.txt in Hover Preview for ImageCache 7

Same filename and directory in other branches
  1. 6 README.txt
Hover Preview Image Style
=========================

Requires Drupal 7.x.

This module provides a mouse hover state for images. This is similar to
functionality you would find on many shopping websites.

The implementation of this module goes a bit further than just a javascript
hover. The idea is you create multiple imagecache presets, and this will allow
you to hover from any preset to any other preset. 

Here's a step-by-step of how to use it.

1) Create at least two image styles, one for your thumbnail/static/small
image, and one for your larger hover image. You can create as many presets as
you like, but for this example we'll use two.

Preset #1 = Thumbnail = Scale and Crop, size of 80x80
Preset #2 = BigImage = Scale and Crop, size of 200x200


2) After saving your presets, you now have new choices available for the field
output. In the Field Display settings, choose Hover Preview as the display.


3) Now you must configure how the Hover Preview is presented:
- The image style
- What to link the image to
- The Hover Preview action (image popup preview or image replacement)
- The Hover Preview style when showing the previewed image

File

README.txt
View source
  1. Hover Preview Image Style
  2. =========================
  3. Requires Drupal 7.x.
  4. This module provides a mouse hover state for images. This is similar to
  5. functionality you would find on many shopping websites.
  6. The implementation of this module goes a bit further than just a javascript
  7. hover. The idea is you create multiple imagecache presets, and this will allow
  8. you to hover from any preset to any other preset.
  9. Here's a step-by-step of how to use it.
  10. 1) Create at least two image styles, one for your thumbnail/static/small
  11. image, and one for your larger hover image. You can create as many presets as
  12. you like, but for this example we'll use two.
  13. Preset #1 = Thumbnail = Scale and Crop, size of 80x80
  14. Preset #2 = BigImage = Scale and Crop, size of 200x200
  15. 2) After saving your presets, you now have new choices available for the field
  16. output. In the Field Display settings, choose Hover Preview as the display.
  17. 3) Now you must configure how the Hover Preview is presented:
  18. - The image style
  19. - What to link the image to
  20. - The Hover Preview action (image popup preview or image replacement)
  21. - The Hover Preview style when showing the previewed image