1688 DataHub

부분 유료
분류별 eCommerce DataHub | 업데이트됨 2 mesi fa | eCommerce
인기

9.5 / 10

지연 시간

1,844ms

서비스 수준

99%

Health Check

100%

모든 자습서로 돌아가기 (2)

Image scaling for web optimization

When API response returns you default images, they look like this:
(at least for most of the time is 800x800 resolution)

https://ae04.alicdn.com/kf/Scd7b333f06b842d28c741d8dc27d04fa5.jpg

You can have images scaled when loading at your browser by simply adding extension:

  • _50x50.jpg
  • _100x100.jpg
  • _250x250.jpg
  • _500x500.jpg

You get the point… test other variations and see what works.

While full image would look like this:

By adding extension and scaling images for your own needs, you may reduce image size being loaded in the browser, thus improving loading speed, SEO etc., but keep in mind, the smaller image, the worst quality it will become. Use lazyload.

Thanks,
eCommDataHub Team