Skip to content

[FEATURE][🕹️] Add Unsplash API for image backgrounds #2279

@jobenjada

Description

@jobenjada

Is your feature request related to a problem? Please describe.

People have to be aware of Unsplash and comparable platforms to find good background images for their surveys.

Describe the solution you'd like

Build an integration with the free Unsplash API.


We're moving the media background in the process of introducing Styling, so best to start with the API setup

Status Quo:

image

Tasks:

  1. Rename "Image" to "Upload
  2. Add a new tab called "Image" with a Search bar at the top and three columns of pictures, like so:
image

Technical Considerations

  • Most images on Unsplash have a very high resolution (4000x6000 pixels). Since we do not resize images, the size effects the loading time of the survey. To keep the loading times short, please make sure to not request the images not in full size but in 1920x1080 pixels (or what Unsplash calls "M").

  • The feature should only be enabled if a UNSPLASH_API_KEY is present in the environment variables.

Here is all the info you need to create a free Unsplash Account to get Demo access to their API:

Unsplash API: here's where you can sign up and check out the API

API Guidelines

API Documentation

Thanks!

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions