I’m new to Drupal and I’m using version 7. I have created a Banner content type, to which I have added an Image field and a Link field (using the Link module). I have allowed theupload of multiple images, and adding of multiple links in this content type.
I then used Image Link Formatter module, which adds a formatter to display an image with a link. This works fine when I add a Banner content type and preview it. However, I want this Banner to be displayed by the Views Slideshow.
Unfortunately, I can’t get things to display correctly when setting up a view block. If I choose to display the content, then it renders all the banners in a single slide (as might be expected). If I select the banner image field only, and choose the Image Link Formatter, it displays the banner images but not the links. I tried adding the link field as a hidden item too, however this has no effect.
As an alternative solution, I tried following this tutorial – here, it says to use the Rewrite Results option ‘Output this field as a link’ for the banner image, which I did and set to the link field. This didn’t work as expected either though – the mapping multiplied the amount of banners, and output each banner with each link. For example:
Banner 1 - Link 1 Banner 2 - Link 1 Banner 1 - Link 2 Banner 2 - Link 2
What am I doing wrong here with the 2 approaches I tried, and what would be the recommended way to accomplish what I require?
Sponsored by SupremePR