Comments (8)
@lebedev-yury Have you been able to take a look at this yet?
from carrierwave-base64.
Hi! You are experiencing the problem only with pdf file uploads, or with other file types too?
from carrierwave-base64.
It's the same for images too. The content type saved is text/html
On 7 May 2016 23:39, "Yury Lebedev" [email protected] wrote:
Hi! You are experiencing the problem only with pdf file uploads, or with
other file types too?—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#31 (comment)
from carrierwave-base64.
You mean that when you open the url to the uploaded file, it shows the file as plain in the browser? If yes, this might be a problem with incorrect content-disposition, set in your amazon s3
from carrierwave-base64.
Hey @lebedev-yury ,
I'm publishing a sample repository to reproduce the above error. The storage, both file system and remote (S3) set the content type to text/plain. You can fork the repository to test it. Also, I don't set content-disposition anywhere. Please let me know if I'm doing it wrong.
Thanks
https://github.com/Mohakjuneja/Base64upload
from carrierwave-base64.
The base64 string when decoded is the absolute path to the original file on local machine.
I think you misunderstand the concept of base64 encoded uploads. How do you think your web application would get the file contents from your local machine, by just having the address?
Base64 string should contain the contents of the file, that you want to upload, encoded in base64 string
from carrierwave-base64.
Hi Yuri,
I apologise. I figured it myself just a few hours after writing to you. I'm
sorry about the trouble. I was fixated on it for over a week when I wrote
to you. Thank you for taking out time to see it!
On 18 Jul 2016 12:33, "Yury Lebedev" [email protected] wrote:
The base64 string when decoded is the absolute path to the original file
on local machine.I think you misunderstand the concept of base64 encoded uploads. How do
you think your web application would get the file contents from your local
machine, by just having the address?Base64 string should contain the contents of the file, that you want to
upload, encoded in base64 string—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#31 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFBQvvn_I2ZxdJJb0hD8UBw6LAS5GP0Tks5qWyVUgaJpZM4IBgGb
.
from carrierwave-base64.
Hi @lebedev-yury ,
I'm trying to upload multiple files(20), with an average size of 700 KB using careerwave-base64 but my request times out. Is it suitable to upload them with this approach?
from carrierwave-base64.
Related Issues (20)
- Error: "ArgumentError : wrong number of arguments (given 1, expected 0)" HOT 4
- Avatar is not saving into database HOT 1
- Have to reload AR model when saving base64 photos. HOT 5
- Regression on 2.6.0 when passing base64 string HOT 5
- Support for multiple uploads ? HOT 4
- Permission denied @ unlink_internal - E:/project_name/public/uploads/1515432095-16344-0028-5553/video.mp4 HOT 1
- uninitialized constant CarrierWave::Mount (NameError) HOT 1
- "mount_base_64_uploader" method not recognized from rails console HOT 3
- issue with cloudinary gem integration HOT 1
- Validation fails on :file attribute HOT 4
- NoMethodError undefined method _will_change HOT 1
- Not able to nullify file field in 2.8.0 HOT 2
- When i supply base64 string it works but during update when the string is from the s3 image sets to nil HOT 2
- Wrong data format for automatic detection. `.ai`instead of `.pdf` HOT 3
- Save as JPG instead of PNG HOT 1
- Not working for multiple file upload HOT 1
- try to use carrierwave-base64 with nobrainer HOT 4
- depending on mimemagic, licensing problem with GPL HOT 13
- mimemagic dependency HOT 1
- NameError (uninitialized constant CarrierWave::MiniMagick::ImageProcessing):
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carrierwave-base64.