The formatters were not showing up in the Display Fields section. Looking at the code, I noticed the following error.

on lines 28 and 34

'field types' => array('image'),

should be

'field types' => array('filefield'),

This solved the problem as the Formatters now show up and work. The only issue I see is that when clinking the thumbnail, it links to the main Zoomify page with all the images. Is there a way to only show the one image? This may be a feature request?

CommentFileSizeAuthor
#5 zoomify_imagefield.zip1.91 KBndwilliams3
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

infojunkie’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Active » Fixed

Thanks for your report and fix. I committed it in the latest dev.

Concerning the choice of zoomified images, this is indeed a feature request. How do you see it working though? Specifically, where does the user choose which image to show on the Zoomify page?

ndwilliams3’s picture

I tried using the default imagefield theme override posted on the project page, but every field displayed all zoomified images. So the images were duplicated on the page. I am trying to zoomify each imagefield independantly either directly on the page or in lightbox. Correct me if I am wrong, buthelezi the function zoomify_images combines all zoomified images, so the function zoomify_display shows all images where it is called.

infojunkie’s picture

You can override theme_zoomify_page to choose a specific image out of the ones returned by _zoomify_images. Does that work in your case?

ndwilliams3’s picture

My preference would be to use lightbox. I am developing a real estate website and using zoomify to display floor plans. I was trying to get each zoomified image to output to a separate page (/node/%nid/%fid/zoomify) so that they can be displayed in lightbox. Since I have multiple imagefields on the node, if they could be ouputted independantly, another solution would be to theme them as tabs.

ndwilliams3’s picture

FileSize
1.91 KB

I modified zoomify_imagfield.module and added a third formatter that displays the zoomfied image within the field. The modified module is attached if you would like to use it. I am also working on another formatter that uses the lightmodal function in Lightbox2. I will post it when I am done.

infojunkie’s picture

Category: bug » feature
Status: Fixed » Needs review

Thanks for your submission. I will review it soon. In the future, please try to upload patches rather than complete modules; this makes it easier for me to see what has changed.

ndwilliams3’s picture

I don't do alot of programming and don't use subversions or CVS, otherwise I would have submitted a patch.

infojunkie’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)

Closing 6.x issues as I don't plan to work on them.