Find Jobs
Hire Freelancers

Javascript debugging

$10-30 USD

Closed
Posted over 10 years ago

$10-30 USD

Paid on delivery
Debug and modify the attached [login to view URL] which is based on the attached (working) original.html. It is the client-side HTML5/Javascript code to get a photo from a mobile phone, shrink it, rotate it if necessary and upload it to a server. Testing on iPhone is required. (I have an Android phone that I can test it on.) It can naturally be tested on a PC during development. (Not IE!) The code is about 95% complete. [login to view URL] correctly reads a photo and rotates it if necessary based on the exif data, but does not include the server upload code. That is in new.html. The project involves the following: 1. Debug [login to view URL] so it works like original.html. (basically I want it procedural instead of OOP and without jquery) DO NOT use jquery, AJAX or any other external bloatware. 2. Rotate photo if required based on EXIF Orientation field (code already done) 3. Call the included drawImageIOSFix function as necessary to correct the iOS6 vertical squish bug (see comments and code in [login to view URL] plus the links below.) 4. Extract latitude and longitude from EXIF and convert to decimal. (PHP code to convert to decimal is included. Has to be converted to javascript. See also link below.) 5. Submit form to server containing user entered comments plus the new (base64) file and latitude and longitude. [login to view URL] that is working, rewrite and combine [login to view URL] and [login to view URL] to delete everything except for the bare basic code to get Orientation, GPSLatitude, GPSLongitude, GPSLatittudeRef and GPSLongitudeRef from the exif. I would prefer the code rewritten as procedural instead of objected-oriented, without callbacks. I want it to be one script with no more than 100 lines of code if possible, to reduce download time to mobile. Two sample photos are attached which can be used for testing. One is in portrait mode (Exif orientation = 6) which can be used for testing the rotating of the photo (preview should show it correctly in portrait mode). The second contains latitude/longitude in the exif which the code has to extract. The following links may be useful as references. (The code currently uses the first two): [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL]
Project ID: 5146044

About the project

1 proposal
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $55 USD for this job
User Avatar
I can fix it using js only. asap ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
$133 USD in 1 day
4.8 (7 reviews)
5.0
5.0
User Avatar
Hello, I have 11 years of experience. Out of which 6 years in java experience. 3 years in web based system, I can do this for you. Thanks Risbud Software Consultancy
$55 USD in 3 days
5.0 (1 review)
0.8
0.8

About the client

Flag of AUSTRALIA
to know, Australia
5.0
14
Payment method verified
Member since Sep 25, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.