🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@pesdk/getty-images-integration

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pesdk/getty-images-integration

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

latest
npmnpm
Version
1.0.2
Version published
Maintainers
4
Created
Source

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.

Keywords

photo

FAQs

Package last updated on 10 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts