Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap Media Object not loading image

I'm trying to load the bootstrap media object inside a span3 div. Everything works, apart from the image. I've checked this link elsewhere and it has no issues.

Any suggestions

<div class="container">
  <div class="row">
    <div class="span3">
       <div class="pull-left">
       <h3>Top Devices</h3>
           <div class="media">
              <a class="pull-left" href="#">
              <img class="media-object" data-src="<?php echo base_url(); ?>resource/img/devices/Asus-Nexus-7.png"/>
               </a>

       <div class="media-body">
        <h4 class="media-heading">Media heading</h4>
      </div>
    </div>
   </div>
</div>
like image 926
K20GH Avatar asked Aug 25 '26 08:08

K20GH


1 Answers

If it's just a regular image you are loading into the span3, is there a reason why you are using data-src and not src ?

Or if you are also using something like foresight.js, for example, see if this post helps you

Good luck!

like image 157
David Taiaroa Avatar answered Aug 27 '26 00:08

David Taiaroa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!