Create a css class for Image field in Views
In Views, when adding an image field there's no way I can add a css class to the image tag. For example, if I were to shape the image to a circle using bootstrap I have to add a .rounded-circle
class to the image and I couldn't find a way to do it. So I think it's conveninent and important to have such function added to the views.
<img src="cinqueterre.jpg" class="rounded-circle" alt="Cinque Terre">
Here just a sample I imagine how it would look like or something similar. Please consider. Thanks!
Recent comments
I dont have a git account, so..
xmlsitemap module generates wrong links for languages
How to deal with abandoned projects? So far, I don't think there has ever been a deprecated, officially unsupported project (module or theme...). But it's also unclear, what the steps...
June 26th 2025 Weekly Meetings
For the second error, we need to figure out which theme hook is producing it. Are you able to enable Devel and insert a debuging line where the problem happens? In line 1102 of theme.inc,...
Error TypeError: Unsupported operand types: null + array...