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.
I have created a view using ImageField CCK and using slideshow style. What I have found that even if there is no image attached to the node, I still get " of " and the conteols in the block.
Comments
Comment #1
manuj_78 CreditAttribution: manuj_78 commentedI am having same issue..Any pointers on how to fix this?
The view is a block and is supposed to show only on the node as a slieshow of the images attached to the node..but if there are no images attached I still see the controls in the block..Any way to not show this?
Comment #2
manuj_78 CreditAttribution: manuj_78 commentedFound the solution
Needed to add a relationship for content field fid and that fixed the problem. Hope this helps others
Comment #3
redndahead CreditAttribution: redndahead commentedmarking fixed.
Comment #5
Danny_Joris CreditAttribution: Danny_Joris commentedI have the same issue, but I can't add a fid relationship because my field is an embedded image/media field (flickr). It shows 1 of 1 , even if there are no images embedded
Comment #6
Danny_Joris CreditAttribution: Danny_Joris commentedI "fixed" it by tweaking the template files a bit. I don't mind doing this, but I don't know if this is the default solution. While there were no fields to be displayed the image counter still showed 1 of 1.
Comment #7
redndahead CreditAttribution: redndahead commentedmoving back to closed fix.
Comment #8
trentharlem CreditAttribution: trentharlem commented@manuj_78 Thank you! Adding the relationship worked for me in D7.