Aliexpress DataHub

免费增值
通过 eCommerce DataHub | 已更新 vor 17 Tagen | eCommerce
人气

9.9 / 10

延迟

1,703ms

服务等级

100%

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