Linked Questions

10 votes
3 answers
7k views

I have been building a portfolio with a headless WordPress and NextJs. I wrote my own functions to get data from the GraphQl endpoint. Everything works fine. But I have media files (images, pdfs, etc.....
Basel's user avatar
  • 1,283
4 votes
2 answers
6k views

I'm trying to upload my image in base64 to my server using cordova-plugin-file-transfer and until now it's not working. My code is like this: photoBase64 = photoBase64.replace('data:image/png;base64,'...
Vinícius Mendes de Souza's user avatar
0 votes
1 answer
11k views

I am sending an html email using nodemailer in node.js, I am sending using the templates concept of the email-templates npm package [https://www.npmjs.com/package/email-templates]. Here, the email is ...
Rittesh P.V's user avatar
2 votes
1 answer
10k views

I have an image locally in a folder: assets/img/xyz.JPEG and I want to convert it to base64. Kindly provide the code necessary to do so in Angular 8 I tried using file reader and btoa but didn't work....
Monsters's user avatar
3 votes
3 answers
3k views

I have 2 imageData objects which I get from the same canvas through the same context. But when comparing them, they are not equal when I would think they would be as they should contain the same data: ...
Andrew Hall's user avatar
  • 3,083
7 votes
2 answers
10k views

How can I crop an area of an image using JavaScript? As I have read, I must use a canvas to project the image on it. With the following code I am cutting an area of an image, but the size of the cut ...
yavg's user avatar
  • 3,141
-1 votes
1 answer
29k views

I have a button called Upload Image.On click that button,a modal is opening. There is two different field called Image Title, Input File. On submit the Save button. It will go to the image.js file. I ...
joy's user avatar
  • 11
1 vote
2 answers
10k views

I need to upload an image taken from my mobile device to my server. I found the angular-upload library to which makes reference. I need to do is to transform the image base 64, send it by post to my ...
NHTorres's user avatar
  • 1,538
1 vote
1 answer
10k views

My web application (JavaScript+HTML) is loaded into WebView and runs as a native UWP app. This app creates an image, gets image data as a blob and returns blob path (blob:ms-appx-web://5c9b0d94-65fd-...
Kibernetik's user avatar
  • 3,058
5 votes
1 answer
10k views

I'm trying to create a reusable directive in my app that allows for files to be encoded as base64 then uploaded via JSON. I haven't seen my resources on the web talking about this approach. I've ...
Mike Fisher's user avatar
4 votes
2 answers
5k views

I am currently working on an Office.js add in for Word and I am trying to insert an image from a given Url. I was reviewing the Office.js documentation which is located at : InlinePicture class (...
user avatar
3 votes
1 answer
9k views

I'm using code from this answer and that answer to send a base64 encoded image to a python FastAPI backend. The client side looks like this: function toDataURL(src, callback, outputFormat) { ...
jerorx's user avatar
  • 678
0 votes
1 answer
8k views

I am getting file url from server through http.post request. I need to convert image to base64 string for database storage. Please let me know how can i convert image from an url to base64 string in ...
Aditya Batra's user avatar
2 votes
2 answers
5k views

Would it be possible to create a client-site only application written in JavaScript (that runs in a browser) which gets multiple image files via ajax, then compresses them as zip (or tar or whatever) ...
Timo Ernst's user avatar
  • 16.1k
3 votes
2 answers
7k views

axios .get(RequestURL, { responseType: 'blob', withCredentials: false }) .then((response) => { let imageNode = document.getElementById('image') ...
sanket kheni's user avatar
  • 1,658

15 30 50 per page
1 2 3
4
5
15