> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Image

> The product's picture.

The image is returned as stored. If width/height or format is specified, then the image is 
scaled and converted to the requested type.



## OpenAPI

````yaml /openapi/rest/openapi-v3-Product.json get /api/v1/Product/{productId}/Image
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - Product
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Product/{productId}/Image:
    get:
      tags:
        - Product
      summary: Get Image
      description: "The product's picture.\n\nThe image is returned as stored. If width/height or format is specified, then the image is \r\nscaled and converted to the requested type."
      operationId: v1Product_GetImage
      parameters:
        - name: productId
          in: path
          description: Product id
          required: true
          schema:
            type: integer
            format: int32
        - name: w
          in: query
          description: Optional Width of bitmap.
          required: false
          schema:
            type: integer
            format: int32
        - name: h
          in: query
          description: Optional Height of bitmap.
          required: false
          schema:
            type: integer
            format: int32
        - name: type
          in: query
          description: 'Optional type of bitmap: JPEG or PNG or GIF'
          required: false
          schema:
            type: string
        - name: ifBlank
          in: query
          description: >-
            What to return if there is no picture (default = Null = 404 Error)
            (Default, ClearPixel, SrNoPhoto, SrNoPhotoWithBorder)
          required: false
          schema:
            type: string
            enum:
              - Default
              - ClearPixel
              - SrNoPhoto
              - SrNoPhotoWithBorder
              - 'Null'
              - GenericFileIcon
        - name: Accept-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code.
          required: false
          schema:
            type: string
        - name: SO-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code. Overrides Accept-Language value.
          required: false
          schema:
            type: string
        - name: SO-Culture
          in: header
          description: >-
            Number, date formatting in a specified culture (iso2 language) code.
            Partially overrides SO-Language/Accept-Language value. Ignored if no
            Language set.
          required: false
          schema:
            type: string
        - name: SO-TimeZone
          in: header
          description: >-
            Specify the timezone code that you would like date/time responses
            converted to.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: An image
          content:
            image/png:
              schema:
                format: byte
                type: string
            image/jpeg:
              schema:
                format: byte
                type: string
            image/gif:
              schema:
                format: byte
                type: string
            image/tiff:
              schema:
                format: byte
                type: string
        '404':
          description: No image on this product (when ifBlank not defined)
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components: {}

````

## Related topics

- [Get Image](/en/api/reference/restful/rest/person/get-image.md)
- [Get a person's image](/en/api/web-services/howto/contact/get-person-image-options.md)
- [NSImage](/en/automation/crmscript/reference/CRMScript.NetServer.NSImage.md)
- [Get Image Info](/en/api/reference/restful/rest/person/get-image-info.md)
