Closed jesusvallez closed 7 years ago
I want to add 'class' => 'img-responsive' to my image to make responsive my 'src' like:
<div id="w1"> <a class="gallery-item" href="http://a.com/b.jpg" title="text"> <img src="http://a.com/b.jpg" class="img-responsive"> </a> </div>
if i add'options' => array('class' => 'img-responsive')
'options' => array('class' => 'img-responsive')
i get this:
<div id="w1"> <a class="gallery-item" href="http://a.com/b.jpg" title="text" class="img-responsive"> <img src="http://a.com/b.jpg"> </a> </div>
how can i write my personal class in an img tag?
Use «imageOptions» of the image item
Works. Thanks!
I want to add 'class' => 'img-responsive' to my image to make responsive my 'src' like:
if i add
'options' => array('class' => 'img-responsive')
i get this:
how can i write my personal class in an img tag?