#30 Try REACTJS Tutorial - Using File Input for Image Cropping

preview_player
Показать описание
#30 Try REACTJS Tutorial - Using File Input for Image Cropping

-----

Рекомендации по теме
Комментарии
Автор

Thanks for your video. Can we upload and crop GIF images as well?

anusrim
Автор

I have been working on it for a week. I am getting transparent files on for saving. It is not correctly converting base64 to images

alianwar
Автор

Please fix it, I spent 3.5 hours trying to figure out what the problem is

jonecramer
Автор

Hy justin these reactjs tutorial and django 2.2 series is enough to walk through for twitterapp project?

innovatorshome
Автор

Hello my friend, you error into file string: 85.
instead of this image64toCanvasRef(canvasRef, imgSrc, pixelCrop), should be image64toCanvasRef(canvasRef, imgSrc, сrop)

jonecramer
Автор

you've got my subscription, nice job !

axe-z
Автор

Hey awesome work here. I can't seem to get this to work for mobile view. ANy thoughts why? specifically safari ios

PrimalTradingCardGame
Автор

QUESTION: How to read metadata from the audio ( mp3 file ) in React JS.
So our image, artist name, genre etc... should come.

zillboy
Автор

All your videos are awesome. Easy to understand and deep explanation of every things.
Wish You a lot of subsribers!
The best programming channel in YouTube.

Oleksandr-jimt
Автор

Thank you, Sir, for all your great videos. Thanks for clearing concepts. Love from Mumbai

rohitkudalkar
Автор

IMAGES CAME OUT SIDEWAYS SOLUTION:

Use image loader instead of File reader

handleFileSelect = event => {


const files = event.target.files;
if (files && files.length > 0) {
const isVerified = this.verifyFile(files);
if (isVerified) {


const currentFile = files[0];
loadImage(currentFile, (img) => {
const base64data = img.toDataURL('image/jpeg');
const img_src = base64data.replace(/^data\:image\/\w+\;base64\, /, '');
this.setState({
imgSrc: base64data,
imgSrcExt: extractImageFileExtensionFromBase64(base64data),
});
}, { orientation: true });
}
}
}

metamesh
Автор

i don't like react at all
but i love your way in videos
explain all and build something real

so when we will get vue with Django
i really need to learn it from you

abdalrhmanmahmoud