# CDN support + Product images page

URL: https://shoptet.dev/news/api/cdn-support-product-images-page

December 1, 2020 · One min read
Pavel Husa

There are two distinct use cases to get URL of an image:

- to use them in your backend processing (e. g. you want to resize it) – use a direct URL
- to present them to an internet user (you typically just provide the URL on another page, e. g. a catolugue or mobile application) – use a CDN URL
In most cases you should use CDN, because the images are cached and provided with lower latency.

We have extended endpoint [Eshop Info](https://api.docs.shoptet.com/shoptet-api/openapi/eshop/geteshopinfo) , section `imageCuts` to contain `cdnURL` to provide a CDN path for each particular image cut.

Additionally we added `cdnName` to all endpoints providing images, such as [Product detail](https://api.docs.shoptet.com/shoptet-api/openapi/products/getproductdetail) , [Product list](https://api.docs.shoptet.com/shoptet-api/openapi/products/getlistofproducts) or [Order detail](https://api.docs.shoptet.com/shoptet-api/openapi/orders/getorderdetail) . The `cdnName` contains a timestamp encoded, which get changed whenever the images changes (e. g. a new version is uploaded). The full image URL can be easily built by concatenating `cdnUrl` and `cdnName` .

See also a separate article [Product images](/addons/documentation/product-images/) .

**Tags:**
- [API](/news/tags/api/)
