Skip to main content
07399 456 959 [email protected]

Product Images Object
Last updated: January 05 2022 11:19 PM

We supply a default set of images for each product in the product images object.

All images in the product images object can be deleted and your own images uploaded through our Content Management System (CMS). When you upload an image our CMS will automatically create multiple sizes and multiple formats. You can set the image sizes and formats you require.

Product Images Object

Attribute Type Description
images array[object] An array containing multiple product images in various sizes, views and formats.
images.largeFrontImageWebp string Returns a url for a large front view image 'image/webp' (200 X 400) px
images.mediumFrontImageWebp string Returns a url for a medium front view image 'image/webp' (100 X 200) px
images.smallFrontImageWebp string Returns a url for a small front view image 'image/webp' (60 X 120) px
images.largeBackImageWebp string Returns a url for a large back view image 'image/webp' (200 X 400) px
images.mediumBackImageWebp string Returns a url for a medium back view image 'image/webp' (100 X 200) px
images.smallBackImageWebp string Returns a url for a small back view image 'image/webp' (60 X 120) px
images.largeLeftImageWebp string Returns a url for a large left view image 'image/webp' (200 X 400) px
images.mediumLeftImageWebp string Returns a url for a medium left view image 'image/webp' (100 X 200) px
images.smallLeftImageWebp string Returns a url for a small left view image 'image/webp' (60 X 120) px
images.largeRightImageWebp string Returns a url for a large right view image 'image/webp' (200 X 400) px
images.mediumRightImageWebp string Returns a url for a medium right view image 'image/webp' (100 X 200) px
images.smallRightImageWebp string Returns a url for a small right view image 'image/webp' (60 X 120) px
images.largeFrontImagePng string Returns a url for a large front view image 'image/png' (200 X 400) px
images.mediumFrontImagePng string Returns a url for a medium front view image 'image/png' (100 X 200) px
images.smallFrontImagePng string Returns a url for a small front view image 'image/png' (60 X 120) px
images.largeBackImagePng string Returns a url for a large back view image 'image/png' (200 X 400) px
images.mediumBackImagePng string Returns a url for a medium back view image 'image/png' (100 X 200) px
images.smallBackImagePng string Returns a url for a small back view image 'image/png' (60 X 120) px
images.largeLeftImagePng string Returns a url for a large left view image 'image/png' (200 X 400) px
images.mediumLeftImagePng string Returns a url for a medium left view image 'image/png' (100 X 200) px
images.smallLeftImagePng string Returns a url for a small left view image 'image/png' (60 X 120) px
images.largeRightImagePng string Returns a url for a large right view image 'image/png' (200 X 400) px
images.mediumRightImagePng string Returns a url for a medium right view image 'image/png' (100 X 200) px
images.smallRightImagePng string Returns a url for a small right view image 'image/png' (60 X 120) px
images.largeFrontImageJpg string Returns a url for a large front view image 'image/jpg' (200 X 400) px
images.mediumFrontImageJpg string Returns a url for a medium front view image 'image/jpg' (100 X 200) px
images.smallFrontImageJpg string Returns a url for a small front view image 'image/jpg' (60 X 120) px
images.largeBackImageJpg string Returns a url for a large back view image 'image/jpg' (200 X 400) px
images.mediumBackImageJpg string Returns a url for a medium back view image 'image/jpg' (100 X 200) px
images.smallBackImageJpg string RReturns a url for a small back view image 'image/jpg' (60 X 120) px
images.largeLeftImageJpg string Returns a url for a large left view image 'image/jpg' (200 X 400) px
images.mediumLeftImageJpg string Returns a url for a medium left view image 'image/jpg' (100 X 200) px
images.smallLeftImageJpg string Returns a url for a small left view image 'image/jpg' (60 X 120) px
images.largeRightImageJpg string Returns a url for a large right view image 'image/jpg' (200 X 400) px
images.mediumRightImageJpg string Returns a url for a medium right view image 'image/jpg' (100 X 200) px
images.smallRightImageJpg string Returns a url for a small right view image 'image/jpg' (60 X 120) px

Product Expand Images Request Example

GET
https://api.uconvert.co.uk/deals/v1/products/?expand=products(images)
{
  "products" : [
    {
      "id": "1044",
      "name": "Apple iPhone 6 16GB Space Grey",
      "slug": "apple-iphone-6-16gb-space-grey",
      "images": {
        "largeFrontImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumFrontImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallFrontImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeBackImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumBackImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallBackImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeLeftImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumLeftImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallLeftImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeRightImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumRightImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallRightImageWebp": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeFrontImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumFrontImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallFrontImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeBackImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumBackImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallBackImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeLeftImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumLeftImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallLeftImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeRightImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumRightImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallRightImagePng": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeFrontImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumFrontImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallFrontImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeBackImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumBackImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallBackImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeLeftImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumLeftImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallLeftImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "largeRightImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "mediumRightImageJpg": "https://static.uconvert.co.uk/img/products/ . . .",
        "smallRightImageJpg": "https://static.uconvert.co.uk/img/products/ . . ."
      }
    }
  ]
}
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.uconvert.co.uk/deals/v1/products/?expand=products(images)",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "x-api-key: 123456"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
curl --request GET \
  --url 'https://api.uconvert.co.uk/deals/v1/products/?expand=products(images)' \
  --header 'x-api-key: 123456'
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.uconvert.co.uk/deals/v1/products/?expand=products(images)",
  "method": "GET",
  "headers": {
    "x-api-key": "123456"
  }
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
require 'uri'
require 'net/http'

url = URI("https://api.uconvert.co.uk/deals/v1/products/?expand=products(images)")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '123456'

response = http.request(request)
puts response.read_body