Hello Pixabay, I'm creating a web app that returns images through your API based off keywords. It states in your API documentation that: "Only dynamic pages, i.e. keywords used by your site's visitors, should send real time queries to our API" - which is basically what my site is. However, you also mention that: "Hotlinking is not allowed. If you intend to use these images, please download them to your server." At the moment I'm storing the "webformatURL" in a database, so not to make multiple requests if two users enter the same words- but I'm still hotlinking, as I'm having to load the image with that URL. I've tried converting the image into base64 data using its webformatURL, so I can download it onto my server if the image doesn't exist on it, and not require to hotlink. However, when attempting to do this I'm met with the error message: "Image from origin 'http://pixabay.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." in my console. How can I solve this? Really love your service, -Ben
↧