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 am using the Colorbox module with the Views module. For the Colorbox trigger, the "Trigger field" is set to Image and this is the code that gets produced.
<a href="/content/vietnamese?width=600px&height=400px&inline=true#colorbox-inline-1804756037" class="colorbox-inline" rel="gallery-translation_banner">
<a href="mysite/content/vietnamese?width=500&height=200&iframe=true" title="Vietnamese" class="colorbox-node">
<img typeof="foaf:Image" src="mysite/sites/default/files/vitetnamese.jpg" width="128" height="77" alt="Vietnamese" />
</a>
</a>
An tag is nested inside another tag.
Why is this happening, and how do I change it?
Comments
Comment #1
dolly nyc CreditAttribution: dolly nyc commentedLooks like you've got the image set to be a link even before it's a trigger so try to change that link or token.
Comment #2
new123456789 CreditAttribution: new123456789 commentedThank you! That was it!
Comment #3
dolly nyc CreditAttribution: dolly nyc commentedGreat. Closing this out.