The issue is the following:

If you attach an image to a series of nodes, and then list the nodes with a view, say for example using the "grid" style to show the node's title and the attached image, there is an option for the image that says: "link to image" or "link to node", but both will take you to the image's node, not to the listed node the image is attached to.

Regardless the default behavior of the image module and the fact that the image can be attached to more than one node, this scenario takes place within a view, where the node to which the image is attached which is of interest to us is clearly identified by the view being executed in display.

This is a big issue and huge limitation to the usefulness of this module many of us are so fond us and used to.

Here is an example of such a view:
http://portal.reddominicana.com/juegos

Of course one can disable Lightbox2 for the juegos/* path, or one could disable the link to node or link to image options for the attached image field in this grid style view.

It would be nice if we could link the images to the node, not just the title as I have had to do in the example above.
Do note that the "node title" field is linking to the node. All that is needed is to implement the same behavior in the proper function.
I am guessing it would be more a "Views" issue than an Image Attache issue, although it does work properly for the rest of views applications.

I'll be more than happy to collaborate in finding a solution.

Comments

Carlos Miranda Levy’s picture

Quick comment: For proper views exclusion, "juegos/*" is incorrect, it should be "juegos*".