Plugins 如何在instafeed中更改正方形大小的照片?
我在我的网站上使用instafeed插件。自2016年6月1日起,Instagram API将更改其设置。照片会变为不同的大小。我怎样才能像以前一样把它换回来?我希望它看起来像正方形 以下是我的instafeed设置:Plugins 如何在instafeed中更改正方形大小的照片?,plugins,instagram,instagram-api,Plugins,Instagram,Instagram Api,我在我的网站上使用instafeed插件。自2016年6月1日起,Instagram API将更改其设置。照片会变为不同的大小。我怎样才能像以前一样把它换回来?我希望它看起来像正方形 以下是我的instafeed设置: var bravesMinimal = new Instafeed({ target: 'tab1', get: 'tagged', tagName: 'mytagname', userId: xxxxxxxxxxxxx, accessTo
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">♥ {{likes}}</div></div></a></div>',
after: function() {
if (!this.hasNext()) {
myButton.hide();
}
}
});
var bravesMinimal=new Instafeed({
目标:“表1”,
得到:“标记”,
标记名:“mytagname”,
用户ID:XXXXXXXXXXXX,
accessToken:'xxxx',
限额:12,
分辨率:“低分辨率”,
模板:“”,
之后:函数(){
如果(!this.hasNext()){
myButton.hide();
}
}
});
您可以通过添加css来保护正方形大小,例如:
#instafeed a img{
width:75px;
height:75px;
}
您可以通过添加css来保护正方形大小,例如:
#instafeed a img{
width:75px;
height:75px;
}