I am trying to implement a hover effect to the thumbnail, when clicked, but this opens a new window, with the image only. I am not sure how to maintain the Cloud Zoom return. Help would be much appreciated! I attached a screenshot to help explain my issue. Below is how I’m entering the CSS call, which is in the cloudzoom.module:
// These are the thumbnail. $ options = array( ‘html’ => TRUE, ‘attributes’ => array( ‘class’ => ‘ADDED HERE’, ‘rel’ =>’useZoom: \” . $ id . ‘\’,smallImage: \” . $ slide_url . ‘\”, ), ); $ gallery_item .= l($ thumb, $ zoomed, $ options); } $ gallery_item .= ”;
// Return the preview image as a link to the larger image with a cloud-zoom // CSS class. return ” . $ main_item . $ gallery_item . ”; }