Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Livereload and Image Caching

$
0
0

@Doozy wrote:

Hello, I'm using a plugin called ionic-cache-src. Cached images won't load from filesystem when I run my app with --livereload. Is there a workaround for this? Having to change up the view code each time I want to enable or disable livereload is a real pain. Thanks.

<ion-view view-title="{{profile.username}}">
   <ion-content>
      <div ng-repeat="image in profile.images track by $index>
         <img width="300" height="300" alt="" cache-src="http://192.168.1.134:8000/uploads/{{image.image}}">
      </div>
   </ion-content>
</ion-view>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>