2016-06-07 35 views
0

我在我的網站上使用了instafeed插件。自2016年6月1日起,Instagram API將更改其設置。照片變成不同的尺寸。我如何將它像以前一樣改回來?我希望它看起來像方形大小。如何更改我的照片在正常大小的instafeed?

這些都是我instafeed設置:

var bravesMinimal = new Instafeed({ 
    target: 'tab1', 
    get: 'tagged', 
    tagName: 'mytagname', 
    userId: xxxxxxxxxxxxx, 
    accessToken: 'xxxx', 
    limit: 12, 
    resolution: 'low_resolution', 
    template: '<div class="insta-wrap"><img src="{{image}}" /><a href="{{link}}" target="_blank"><div class="likes-wrap"><div class="likes">&hearts; {{likes}}</div></div></a></div>', 
    after: function() { 
     if (!this.hasNext()) { 
      myButton.hide(); 
     } 
    } 
}); 

回答

1

可以保護見方大小與添加CSS像這樣的例子:

#instafeed a img{ 
     width:75px; 
     height:75px; 
} 
相關問題