All Questions
1,689
questions
0
votes
1
answer
27
views
Reusing react component across the three and deduplicate request - NextJS or React
I'm using NextJS 14 and I'm making a chat application.
Each time a message is sent or received, next to the chat message there is a small icon with the image representing the user that sent the image.
...
0
votes
0
answers
13
views
how to style images in styled-components
these are my images in my React.js app:
<img className="mobile-image" src={MobileImage} alt="mobile image" />
<img className="desktop-image" src={DesktopImage} ...
1
vote
0
answers
20
views
Webpack Duplicate Image File Issue and 404 Error with React App
I am working on a React project with Webpack to bundle my assets. My issue is that Webpack is creating duplicate image files in the dist/images directory, and my application is also encountering a 404 ...
0
votes
0
answers
14
views
Save image capture from react-webcam in asset or public folder react js
I’m trying to create a function in react which save image captured from my webcam in the asset or public folder. The path combined with image_name.png will be save in column table. Example ../asset/...
-4
votes
1
answer
24
views
regarding relative path not working in vs code
in react app my code is in src under my-app folder.Image is in public/assests.so I give path as
<img src="my-app\public\assets\cat.png" alt="A cute cat" width="300" ...
0
votes
1
answer
34
views
Conditional image source for a react project
I am practicing React JS lately, I am fetching cast data from TMDB for the project and using the profile_path data for image source. What my problem is now since some of the cast has null as their ...
-2
votes
1
answer
35
views
Module not found: Can't resolve '../../public/img/cats.png' in Next.js [closed]
I want use img tag in my Next app but it doesn't work. That is img tag :
<img src={'/public/img/cats.png'} alt="cats img" />
I searched a lot but I didn't find anything that works.
0
votes
0
answers
17
views
I'm using the SvgUri package to render images. But not able to see while the app taken but connected via usb is working
This how I have imported
import Detail_R_Arrow from '../assets/images/detailRarrow.svg';
export {
Back_Arrow,}
This is my import statement
import SvgUri from 'react-native-svg-uri';
This how I ...
0
votes
0
answers
28
views
I want to insert a picture
<img src="../Images/4-sure.png" alt="4-Sure" />
the image does not show
<img src="../Images/4-sure.png" alt="4-Sure" />
I expected the image to ...
0
votes
1
answer
16
views
Google Cloud Functions for Firebase: How do I render an image response in React?
I'm using Google Cloud Functions for Firebase (GCFF) to make my API calls on the backend of my simple React web app. Here's a simple one that fetches a picture from Wikipedia.
I've tried many ...
0
votes
0
answers
35
views
Crash after inserting an image with a controlled React component using Quill.js
I am implementing a React component using the Quill library.
I'm having a problem inserting an image into the text editor. When I select the image, the editor crashes and the whole page freezes. It is ...
0
votes
2
answers
120
views
React suspense fallback retriggers
I have an image that I take from an API endpoint. For a reason, I'm importing the image component inside a Suspense with a fallback. The problem is that every time a useState or a useEffect is ...
0
votes
0
answers
38
views
React-Native Expo: Image Cropping Library
I'm currently developing an application using React Native and Expo, and I need a reliable image cropping library in which the user can select the region he wants to crop. After extensive research and ...
0
votes
1
answer
46
views
using react-native-image-crop-picker multiple true, I want crop all images those I selected
I am using react-native-image-crop-picker
and I have to choose multiple images so I did multiple true,
Now I want crop all images those I selected. because if i am enabling the multiple true it is not ...
0
votes
0
answers
64
views
Cloudinary upload image
My code works locally, and I can upload images to Cloudinary. However, after deploying my code to the server, Cloudinary returns a 400 error even though the rest of the code works fine.
I believe the ...