formbricks/formbricks

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

Closed this issue · 8 comments

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

@jobenjada Can I pick this ?

@jobenjada I would like to work on this. Assign this.

Thanks

Assigned to @vidhikapadia2799! Excited to have you ship this 🕹️

@jobenjada I just read how to assign issue. It is okay if I start work on this ?

/assign

you got it exactly right @vidhikapadia2799 - the issue is yours :))

Thanks @vidhikapadia2799 for shipping this 🚀

Completed in #2341