Hotlinking Unsplash images results in broken image

Unsplash prefers that users of their API hotlink images from urls that they provide. Seems almost silly to be asking this, but for some reason this simple piece of code is not working when trying...

React native detect end of long press

My problem is pretty simple, i'm trying to detect the end of a onLongPress event. Basicly when the user release the press. I'v try every event possible in TouchableWithoutFeedback but there is...

How to get a list of all a specific user's photos using Unsplash API?

It it possible to get a list of all the photos or photo IDs by a specific user on Unsplash using the Unsplash API?

Symfony ignore 404 status code for get request

I have an application which allows users to create wishes. I use the title of each wish to make an api request to unsplash to download a picture. I now have the problem, that a user can enter a...

unsplash query gives random image

I'm new in learning of building apps with API and node.js and stuck with a problem. UI is updated from city.value input and when I fetch API, search query return a random img, however when I...

How to display two image collections(using Unsplash API) through use of tabs in Flutter?

import 'package:flutter/material.dart'; void main() { runApp(StartPage()); } class StartPage extends StatelessWidget { @override Widget build(BuildContext context) { return new...

Navbar on top of background image bootstrap 4.0

I am trying to have my navbar be on top of my background imagein bootstrap 4.0. I can do this via negative margin top on the background image but that is not easy to work with if i make changes to...

How to make more photos in Unsplash API?

Can you help me with Unsplash API because i can't make more than 10 photos in page? Help me please. Also if you have some more easy code can you show me please? Tried: function SearchPhotos()...

pick a random image from unsplash API reactjs

I am developing a reactjs application which uses unsplash API to update background images of the application. The result from the API is as below: {total: 2330, total_pages: 78, results:...

Have to reload the app, when the button was clicked to see changes (Flutter)

This is my project: https://github.com/OstapFilipenko/Picslash I trying to create an app, that is getting pictures from the unsplash API and display those pictures. First am calling an async...

My index page is loading slowly. How do I reduce load time?

I've written a simple rails app that allows users to read and share articles. The index page takes quite some time to load (15+ seconds). The app uses active storage to store images. You can see...

Angular 10 upgrade introduces ExperimentalWarning: Conditional exports is an experimental feature error

Ever since I upgraded to Angular 10, I have started getting this warning when I run ng serve (node:22740) ExperimentalWarning: Conditional exports is an experimental feature. This feature could...

How to get all download links from unsplash using Selenium?

Trying to download a collection of images from Unsplash. When I try to see the len(links) I only get 29 while it should be 63. Not sure what the issue is: from selenium import webdriver def...

Fitting image to screen and allow default zoom behavior

I want to fit an image to the viewport keeping the aspect ratio and the default zoom behavior of the browser. Basically the wanted behavior is exactly like opening a local image with Chrome or...

How to insert params into netlify functions?

I have an input that sends an api call on submit to the unsplash API. I am trying to convert this into a netlify function but am not sure how to pass the params from the input into the function. I...

download image in react

I've used unsplash API to display photos. when I click on a photo, it shows the photo in a modal and under there is a download button. When I click on that button, it doesn't download the image...

Cache images from API (Unsplash) React-Native

I search for images and fetching them from UnSplash API but I want to cache images. Suppose I am getting 30 images I want to cache them all and store them. If I search for that same image again I...

Cannot read property 'urls' of undefined after refresh

I've created a photo app when the user clicks on the modal then the modal pops up with a new url with the photo id. However, when I refresh the page then it shows the error. I'm using unsplash api...

BeatifulSoup unable to load all images from a scrolling page

I am trying to create a dataset with images of doors and windows. For this I am interested in downloading images from one of the websites offering a vast collection. The only problem with the...

Unsplash Api to download image of a particular size

When Unsplash API https://api.unsplash.com/photos/?client_id=#{dummy_client_id} is called it returns JSON in the following format [ { "id": "kmTq5GU6c-0", "created_at":...

Unsplash API - Access specific photo by id

I want to access a specific photo via the Unsplash API and a given photo ID. Unfortunately my approaches didn't succeed and it seems that no other person on google tried it...

Changing DPI when exporting SVG to PDF with Inkscape (command line)

I have created a simple SVG file that has a high-resolution JPEG background and some text on top: I grabbed a random high-resolution image form Unsplash I opened it with Inkscape I added some...

How to work with pagination in Unsplash Api in Vanilla Javascriot

I am trying to make a website with infinite scroll feature with the photos of the dogs(Unsplash API). But when I call the getphotos() function on the scroll event , it only gives me the images...

Why am I Getting 401 Unauthorized response from unsplash.com when i do an API request with react.js?

i've tried to do an API request to unsplash from react.js, it works when i pass the access key using a client_id query parameter like...

"Publishing changes from background threads is not allowed" while fetching data using URLSession

I am trying to fetch data from the Unsplash API however I am getting the following error: "Publishing changes from background threads is not allowed; make sure to publish values from the main...

Instabot Posts Images but Not Captions

I'm building a bot that fetches images from the Unsplash API, and then reposts them on Instagram. Each image comes with a caption that is generated using the function getQuote(). The issue I am...

import error: 'unsplash-js' does not contain a default export (imported as 'Unsplash')

Below is my code snippet: import React, { useState } from "react"; import Unsplash, { toJson } from "unsplash-js"; const unsplash = new Unsplash({ accessKey: "****", secret:"****" ...

Concat arrays in redux reducer

I'm using an Unsplash API, and trying to make pagination. I don't want to replace one page with another, but to call more images results and concate it to an existing ones. This is my...

how load unsplash images in gatsby using gatsby-source-unsplash

im trying to load images from unsplash using gatsby-source-unsplash and gatsby-plugin-remote-images my config: gatsby.config.js: { resolve: `gatsby-source-unsplash`, options: { ...

Woocommerce wrong fragments passed back from woocommerce_add_to_cart_fragments

I'm creating a custom WooCommerce cart and updating the quantity of a cart item works correctly. The only problem is that it doesn't automatically refresh, only works after page load. My current...