I am a Drupal newbie, trying to create a project for a class. I am cataloging a series of prints, and would REALLY like to be able to provide the zoom feature, as the prints are quite intricate and could benefit from close study.

However, when I apply the Cloud Zoom function to an image field in a content type, the image simply disappears. I get a gray box with "Loading..." in it, but nothing loads. This seems to be true for attached images and uploaded images, new and preexisting content types.

I have tested the module on four sites I have in development, three of which are Drupal 6.2 and one of which is Drupal 7. The same thing happens on all but one of the sites. The one site on which the zoom works is a locally hosted 6.2 site with nothing else on it--no other content, no additional modules (other than the necessary CCK modules, of course).

I have checked and adjusted permissions. I read about an issue with AJAX and uninstalled Chaos Tools. I can't help but feel that there's probably something simple and obvious that I'm missing or not doing, but I have no idea what it might be.

I am comfortable with HTML and CSS but have never done any php coding. I'm not scared of it but would need fairly explicit instructions.

Thanks,
Katherine

Comments

neokrish’s picture

go to admin/reports/status and check if you have installed the library correctly. If you see a message like below, then you first need to download the library in the module folder inside cloud-zoom directory.

"Cloud Zoom - Sourcecode downloaded and present Files Missing"

nicholasthompson’s picture

The other possible option for this is if the Image's aren't generating. I recently had this when I accidentally forgot to enable ImageAPI ImageMagik (or GD).

kpradt’s picture

Yes, I think the problem may be with ImageCache. I had installed the library according to the documentation (thanks for the check, neokrish) though for some reason I can't access status reports to confirm that I'm not getting an error message. When I reconfigured through Display Fields simply to use the ImageCache presets, rather than CloudZoom, I got nothing, no image at all. The original image will display if that's selected, but no ImageCache presets work.
I'm not sure why this is happening--I do have Image API and ImageMagick enabled. It may be a problem with the path not being created correctly; perhaps a conflict with another module that is setting a different path for images? I am determined to get this working, so I will report back when I do.

CanOne’s picture

hey guys

cloud zoom was working properly on my local site
but after uploading the drupal page to my webspace i need to click on a little thumbnail
after that the zoom effect is working
what can i do?

got the latest dev version of cloud zoom
drupal 6
image cache and api, gd2

and i´m loading my image through node-product.tpl.php with this script

        // all image display - ie the thumbnail gallery loop
        foreach ($node->field_image_cache as $images) {
           $full = url(imagecache_create_path('cloud_full', $images['filepath']));
           $zoom = url(imagecache_create_path('cloud_zoom', $images['filepath']));         
           

print $zoom; " title="<? print $images['data']['title']; ?>" class='cloud-zoom-gallery' rel="useZoom: 'zoom1', smallImage: '<? print $full; ?>' ">
print theme('imagecache', 'cloud_thumb', $images['filepath'], $images['data']['alt'], $images['data']['title']);

          
        }
        

to get little thumbnails under the normal zoom image..

CanOne’s picture

hey guys

cloud zoom was working properly on my local site
but after uploading the drupal page to my webspace i need to click on a little thumbnail
after that the zoom effect is working
what can i do?

got the latest dev version of cloud zoom
drupal 6
image cache and api, gd2

and i´m loading my image through node-product.tpl.php with this script

<?php
        // all image display - ie the thumbnail gallery loop
        foreach ($node->field_image_cache as $images) {
           $full = url(imagecache_create_path('cloud_full', $images['filepath']));
           $zoom = url(imagecache_create_path('cloud_zoom', $images['filepath']));         
           ?>
         
           <a href="<?php print $zoom; ?>" title="<? print $images['data']['title']; ?>" class='cloud-zoom-gallery' rel="useZoom: 'zoom1', smallImage: '<? print $full; ?>' ">
           <?php print theme('imagecache', 'cloud_thumb', $images['filepath'], $images['data']['alt'], $images['data']['title']);?>
           </a><?php
          
        }
        ?>

to get little thumbnails under the normal zoom image..

fu**in hell...got it
i missed to presets..everythings good now :)

grahamshepherd’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Category: support » bug

I have recently started experiencing this problem as well, having had excellent results previously on thousands of images. I believe that the problem started occurring after I upgraded from the previous dev snapshot to the current (2011-May-11). It works OK if the image had been uploaded before that date, but it doesn't work for new images. If I flush the large (zoomed in) preset it doesn't work for any nodes of this content type.

It appears that the large imagecache preset is not being created by cloud zoom. (The small preset is correctly created.)

I have established that Imagecache itself is working for the large image by changing the imagefield display format to the large preset image (no cloud zoom). When I change back to cloud zoom it works for the one or two nodes I tried but not for any other nodes. All this is verified by observing the contents of the Imagecache file folders on the server. It looks to me as though a bug has crept in to the latest dev snapshot.

CanOne’s picture

got the same problem

only the old images are showing

even if i flush there is no difference..imagecache is creating the older once correctly

heyyo’s picture

I have the same behavior since my webhoster switched to php 5.3.3-7+squeeze3
EDIT: not sure if it's related, a flush of zoom imagecache preset fixed the bug

kristin.e’s picture

I am having the same problem - when I click on the thumbnails no image appears - just the Cloud Zoom "loading' bar. Seems like this is something many people are experiencing - perhaps a bug?

subscribing to any new developments...

Will Igetit’s picture

Version: 6.x-1.x-dev » 6.x-1.0

Hello,

I am undergoing the same issue and when trying to see the picture the log report no problem when uploading the file.
Also it's properly uploaded the file is not created for "myzoomcloud_preset".

Which is strange though is that I put the big picture manually in the preset folder to give it a try, and when trying to look at it, it
doesn't show, the "loading" feature remains.
When clicking on the picture the log report shows that the access is being denied ( also permission have been set properly)

sites/default/files/imagecache/myzoomcloud_preset/test.png access denied

I am running on the latest version of imagecache6.x-2.x-dev/imageapi6.x-10.x/ php5.3

Hope someone can help on that,

Sincerely,

Will

dakku’s picture

Issue summary: View changes
Status: Active » Closed (outdated)