@pesdk/getty-images-integration
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Getty Images Library SDK

The Getty Images Library SDK lets your users easily search, license and edit stock photos from Getty's creative and editorial libraries.

Users can find and license images through an easy to use search interface without leaving your application or website. Export the licensed images to your application for further processing whether you are powering content creation or graphic design.

Prerequisite

You need to use your backend endpoint that provides an OAuth token for the Getty Images API.

Getting Started

Install the Package

yarn add @pesdk/getty-images-integration @pesdk/getty-images photoeditorsdk react react-dom

or

npm install --save @pesdk/getty-images-integration @pesdk/getty-images photoeditorsdk react react-dom

Add the container to your application

<div id="editor" style="position: relative, width: 100vw, height: 100vh" />

Initialize the Getty Images Library SDK

import { PhotoEditorSDKUI } from '@pesdk/getty-images-integration';

await PhotoEditorSDKUI.init({
  gettyAPIKey: "<YOUR_GETTY_API_KEY>",
  gettyTokenURL: `${window.location.href}/token`,
  container: "#editor",
  assetBaseUrl: "https://cdn.img.ly/packages/imgly/photoeditorsdk/5.17.4/assets",
});

Examples

Getty Images Library SDK example

PhotoEditor SDK Documentation

Visit our docs

License

Please see LICENSE for licensing details.

Support and License

Use our service desk for bug reports or support requests.

Package Sidebar

Install

npm i @pesdk/getty-images-integration

Homepage

www.img.ly/

Weekly Downloads

1

Version

1.0.2

License

BSD-3-Clause

Unpacked Size

1.78 MB

Total Files

13

Last publish

Collaborators

  • maerch
  • sascha_
  • schiewe