Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJorge Guzman
Courses Plus Student 21,390 PointsHow to create a file from a dataURL? (javascript)
Hi guys,
I am trying to upload pictures to Parse.com, I do not have the files, but the dataURL's (because I resized the images), but need an image file to upload.
Any tip is welcome.
Cheers.
1 Answer
Dave McFarland
Treehouse TeacherHi Jorge Guzman
Great question. I've never save a data url as a file, but a quick search on Stackoverflow turned up these ideas: