Aliexpress DataHub

FREEMIUM
By eCommerce DataHub | Updated ืœืคื ื™ ื™ื•ืžื™ื™ื | eCommerce
Popularity

9.9 / 10

Latency

1,510ms

Service Level

100%

Health Check

100%

Back to All Tutorials (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