Sometimes this module is used to make the design easier to implement, and sometimes it is used to make an image non draggable in the browser.
However in case it is used in a view as an image for an item, we might want that image to be clickable to lead us to the node page.
And defining JS just for that behaviour does not seem to be a nice way of doing it.
The formatter could offer a new option. "Link to content", which if checked would wrap the div with the background with an <a> </a>
tag. Since HTML 5 this is allowed.
Is there any interest in such a feature?
For inline this solution would work fine as it simply outputs a div in a tpl file, so we can add an <a>
in case of the new option is checked.
Likely we cant do anything with the css version as it only outputs the css then.
Needs work
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.