Aliexpress DataHub

FREEMIUM
Por eCommerce DataHub | Atualizado vor 4 Tagen | eCommerce
Popularidade

9.9 / 10

Latência

1,624ms

Nível de serviço

100%

Health Check

100%

Voltar para todos os tutoriais (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