手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表Tag:淘宝客

淘宝客程序中获取图片尺寸

 在sablog上看到淘宝客图片的尺寸,还有,在各种各样的网站上都看到了一些尺寸,其实,这些都是大家在摸索

然而,官方早就有了文档,只是我们没有看到罢了。比如在这里:http://www.taobao.com/market/market/mobile/yuanjin.php?spm=0.0.0.0.Zz1B0Y,点击【获取图片】,你会发现,原来官方提供了N个尺寸,
XML/HTML代码
  1. 淘宝后台的图片尺寸规格如下:  
  2. ZoomAddType _80x40.jpg 84(代表相素为80*40)以下类似  
  3. ZoomAddType _60x30.jpg 63  
  4. ZoomAddType _300.jpg 300  
  5. ZoomAddType _81x65.jpg 81 65  
  6. ZoomAddType _110x90.jpg 110 90  
  7. ZoomAddType _24x24.jpg 24  
  8. ZoomAddType _30x30.jpg 30  
  9. ZoomAddType _40x40.jpg 40  
  10. ZoomAddType _60x60.jpg 60  
  11. ZoomAddType _70x70.jpg 70  
  12. ZoomAddType _80x80.jpg 80  
  13. ZoomAddType _100x100.jpg 100  
  14. ZoomAddType _110x110.jpg 110  
  15. ZoomAddType _120x120.jpg 120  
  16. ZoomAddType _160x160.jpg 160  
  17. ZoomAddType _170x170.jpg 170  
  18. ZoomAddType _250x250.jpg 250  
  19. ZoomAddType _310x310.jpg 310  
  20. ZoomAddType _670x670.jpg 670  
  21. ZoomAddType _620x10000.jpg 620 10000  
这时候,你是什么情况?有没有和你的小伙伴一样都惊呆了?嗯,我在网上看到的这些:
XML/HTML代码
  1. 缩图常见尺寸:  
  2.   
  3.   _40x40.jpg  
  4.   _70x70.jpg  
  5.   _100×100.jpg  
  6.   _120x120.jpg  
  7.   _160x160.jpg  
  8.   _320x320.jpg  
  9.   _480x480.jpg  
  10.   _600x600.jpg  
  11.   _sum.jpg(缩略图专用,其实是80x80)   
  12.   _b.jpg(大图专用,220x220)  
和上面的尺寸不太一样,不过也差不多了,做一个merge吧。
 
获取淘宝图片的方法如下:
 
大小: 42.1 K
尺寸: 500 x 352
浏览: 1307 次
点击打开新窗口浏览全图
不算太复杂吧?
 
 
 
 

Tags: 淘宝客