How to make imageflow to link to content or product using drupal views

403 Views Asked by At

I've created a view, added the specific path and used 'rewrite results' to output the field as a link > path. This gives me the intended HTML view format. When I change to imageflow and one of the images, the behavior changes to open a larger version of the image (imageflow default behavior).

As I see it, it's an imageflow overwrite, and the plugin allows you to set an onClick parameter. I'm trying different values to try to make it link to content. This tends to break imageflow or not link at all.

Any similar experience or suggestions?

2

There are 2 best solutions below

2
On

What is the kind of your field? Image, title?

Link the field to its node and then use this code inside the "OnClick Override" settings:

function() {window.open(this.url, '_blank');} // Or _parent to open it normally
0
On

The solution found was to use a different Drupal module jQFX. The links work without the need of the onClick statement. Unfortunately, the option reflex doesn't seem to work.