Aliexpress DataHub

FREEMIUM
От eCommerce DataHub | Обновлено 4 days ago | eCommerce
Популярность

9.9 / 10

Задержка

1,624ms

Уровень обслуживания

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