# Image URL

Research shows that the average cart abandonment rate across online retailers is [about 70%](https://www.shopify.com/ie/blog/shopping-cart-abandonment). This means that 70% of customers, who put items in the online shopping cart, fail to pay for those items. There are a number of strategies that help reduce this number. Among the recommended steps is to add product images to a payment screen to build trust and reduce buyer uncertainty.

Trustap lets you add a product image to the payment screen, helping you improve conversion rates and reduce abandoned carts.

## Add a product image to a transaction

The Trustap API supports adding an image through the `image_url` when creating a transaction.

For details on how to create transactions, see our [online](/docs/guides/transactions/online/online-intro), [face-to-face](/docs/guides/transactions/face-to-face/face-to-face-intro), and [Trustap lite](/docs/guides/transactions/trustap-lite/listing-intro) guides.

Online transaction

```curl
curl --location 'https://dev.stage.trustap.com/api/v1/me/transactions/create_with_guest_user' \
--header 'Trustap-User: 1-886e3c26-b585-4c92-a93b-e3c84b9b32e9' \
--header 'Content-Type: application/json' \
--user '<API_KEY>:' \
--data '{
    "image_url": "https://docs.trustap.com/images/VW-GolfGTI.jpg",
    "description": "1991 VW Golf GTI",
    "seller_id": "1-886e3c26-b585-4c92-a93b-e3c84b9b32e9",
    "buyer_id": "1-615a70d4-b624-4243-95be-a8367b7953ea",
    "creator_role": "seller",
    "currency": "gbp",
    "price": 10000,
    "charge": 90,
    "charge_calculator_version": 5
    }'
```

Face-to-face transaction

```curl
curl --location 'https://dev.stage.trustap.com/api/v1/p2p/me/transactions/create_with_guest_user' \
--header 'Trustap-User: 1-886e3c26-b585-4c92-a93b-e3c84b9b32e9' \
--header 'Content-Type: application/json' \
--user '<API_KEY>:' \
--data '{
"image_url": "https://docs.trustap.com/images/VW-GolfGTI.jpg",
"description": "1991 VW Golf GTI",
"seller_id": "1-886e3c26-b585-4c92-a93b-e3c84b9b32e9",
"buyer_id": "1-615a70d4-b624-4243-95be-a8367b7953ea",
"creator_role": "seller",
"currency": "gbp",
"deposit_price": 10000,
"deposit_charge": 130,
"charge_calculator_version": 3,
"skip_remainder": true
}'
```

Trustap lite

```curl
curl -X POST \ 
"https://dev.stage.trustap.com/api/v1/p2p/listings/create_with_seller" \
  -u "<API_KEY>:" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://docs.trustap.com/images/VW-GolfGTI.jpg",
    "seller_email": "sarah.garcia@shopit.com",
    "seller_phone_number": "34543503034",
    "seller_country_code": "ie",
    "currency": "eur",
    "description": "1991 VW Golf",
    "value": 10000,
    "ad_id": "588a98"
  }'
```

The resulting Trustap payment screen displays a thumbnail of the product image.

Payment screen with product image
## Image specifications

The Trustap API supports the following file types: JPG, PNG, GIF, BMP, WebP, and SVG.

Images are displayed as squares on the Trustap payment screen. Non-square images are automatically cropped from the center.

URLs up to 2047 characters are supported.