Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#5 | zoomify_imagefield.zip | 1.91 KB | ndwilliams3 |
Comments
Comment #1
infojunkieThanks 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?
Comment #2
ndwilliams3 CreditAttribution: ndwilliams3 commentedI 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.
Comment #3
infojunkieYou can override
theme_zoomify_page
to choose a specific image out of the ones returned by_zoomify_images
. Does that work in your case?Comment #4
ndwilliams3 CreditAttribution: ndwilliams3 commentedMy 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.
Comment #5
ndwilliams3 CreditAttribution: ndwilliams3 commentedI 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.
Comment #6
infojunkieThanks 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.
Comment #7
ndwilliams3 CreditAttribution: ndwilliams3 commentedI don't do alot of programming and don't use subversions or CVS, otherwise I would have submitted a patch.
Comment #8
infojunkieClosing 6.x issues as I don't plan to work on them.