开发者

get_serving_url question

Hi My question is whether I've understood the usage correctly: Adding =s120 to the url will scale the image to 120 pixels and adding the parameter size=120 will behave differently: It will only shrink images larger than 120 pixels. Is this tru开发者_开发问答e? Thank you


No.

size=120 is something you could pass as the 2nd argument to the get_serving_url method. =s120 would be something that you append to the URL returned by get_serving_url.

The effect is the same: larger images are scaled down, but smaller images are not scaled up.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜