So I've installed the module, gotten the flash file from the suggested URL, activated the module.

I go to create image, create it, and when submitted it says "

* Created tiles for files/images/paducah_west.jpg.
* The directory files/zoomify/10 has been created.
* Your Image has been created.

"
And I see the scaled version of the image with no zoomify. There is no tab next to View and Edit to click on to see it zoomified. What am I missing here? Thanks for all your hard work!

CommentFileSizeAuthor
#7 Picture 1.png103.98 KBjgarbe
#7 Picture 2.png183.5 KBjgarbe
#3 zoomify.patch1.28 KBinfojunkie

Comments

infojunkie’s picture

Assigned: Unassigned » infojunkie

Thanks for your report. This tab thing is tricky and I've had trouble with it, so please bear with me and help me diagnose the problem.

1. Please make sure that files/zoomify/10 does exist and does contain: fid/Image.md5, fid/ImageProperties.xml, fid/TileGroup0/*.jpg

2. Type the link node/xxx/zoomify/0 in your browser. Does it display the Zoomify applet?

3. If it does, then please insert the following line

var_dump($images);

in line 38 of zoomify.module. When you view the image node, do you see the debug output at the top of the page?

jgarbe’s picture

Assigned: infojunkie » Unassigned

Fast response! Here's a page where I've just done "create image": http://www.horizonmediagroup.net/public/mapgis/?q=node/12

I did a clean reinstall of zoomify 5.x-2.x-dev and enabled Zoomify viewer and the handler for image.module.

I have it set to zoomify for a width or height greater than 500px.

When I added this one picture I got the notification:
"* Created tiles for files/images/paducah_west.jpg.
* The directory files/zoomify/10 has been created.
* Your Image has been created."

There's a directory in zoomify now of 12 -> 22 -> Image.md5, ImageProperties.xml, and folder TileGroup0 which has the pictures in there. A folder named 10 does not appear...not sure if that was just for purposes of example.

Typing in node/12/zoomify/0 doesn't give me anything, so I didn't proceed further. Let me know what to do next, and thanks for the support!

infojunkie’s picture

StatusFileSize
new1.28 KB

* Did you make sure the Image type is checked in the Zoomify settings page? Sorry but just making sure :-)
* Please check the recent log entries in admin/logs/watchdog for anything that Zoomify might have complained about.
* Please apply the attached patch, refresh the node (no need to create a new image), and tell me what you see.

jgarbe’s picture

Applied the patch (I also went ahead and enabled clean URLs and retried the zoomify/0 thing, and it just loaded the same page) and the only change is now on all the front-end pages of the site it flashes string (6) "1st if" before loading the page.

To clarify, I went to
Administer -> Site building -> Modules and checked "Zoomify handler for image.module" as well as "Zoomify Viewer" but not "Zoomify handler for imagefield.module" as I don't have CCK installed currently. I did this after installing the files to the appropriate directory. I also changed the zoomify settings to zoomify things larger than 500 width or height. Did I miss an enabling step?

List of installed modules:
-image
-imagefield
-nice_menus
-views
-zoomify

Thanks!

jgarbe’s picture

I have also disabled all modules except zoomify and its dependencies and there was no change. What should I be looking for when it works?

infojunkie’s picture

You didn't answer the first question:
* Did you make sure the Image type is checked in the Zoomify settings page? Sorry but just making sure :-)

What the message "1st if" is saying is that Zoomify doesn't consider the node you're viewing as registered to be zoomified. So if the setting above is correctly made, please add the line

var_dump($types);

right after

$types = variable_get('zoomify_types', NULL);

at or around line 31. The output we're looking for is something like

array
  'image' => string 'image' (length=5)
  'casetracker_basic_case' => int 0
  'casetracker_basic_project' => int 0

where the 'image' type should be non-zero.

Thanks for your patience!

jgarbe’s picture

StatusFileSize
new183.5 KB
new103.98 KB

Thanks for your persistent assistance! I'm getting the sneaking suspicion I might be making a total noob mistake. I'll do what you've suggested and reported back, but for my peace of mind can you tell me the path to the Zoomify settings page you're talking about? The two I know of are:

admin/build/modules (picture 1)

and

admin/settings/zoomify (picture 2)

I'd feel foolish but relieved if it just turned out there was a third page I hadn't set up correctly...hmm....

infojunkie’s picture

I know what's wrong hehehe. You need to install CCK. Can you plz try that and then I'll fix Zoomify to complain or work without it. When you open the second URL you sent (admin/settings/zoomify) you should see content types we've been talking about. Sorry :o)

infojunkie’s picture

Status: Active » Fixed

I checked in a fix in the latest 5.x-2.x-dev branch. You don't need to enable CCK, so please try it and let me know.

jgarbe’s picture

And....solved! I hadn't bothered installing CCK yet because it was on a test server, but now everything's happy. I disabled CCK and enabled the new build of Zoomify just to make sure, and it also works just fine without CCK now. Saw the tab, clicked, was zoomifed, rejoiced.

Thanks a million for your dedicated support, and fantastic module! It's going to provide some real core functionality for my website!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.