Find Jobs
Hire Freelancers

Finish my Javascript/PHP image size calculator

$30-250 USD

Completed
Posted over 8 years ago

$30-250 USD

Paid on delivery
I have a SVG images that I need to figure out the size to. I have created 85% of the project at [login to view URL] You just need to type a price (150 total price, $35 for plate price) choose a bike in the dropdown menu (graphics4/images/models/kawikx450f-2013-2015 ) for this example. It will show rows for the different images. It will calculate the area of the image, give you a percentage of the total area, and give you a price based off of the total price you entered in. This works right now. What I need is this: If the Total price is $150 and the Plate price is $35, I want to select the checkboxes of the 3 number plates (fnp, rnp, lnp) and make their areas calculated from their totals only and the prices taken out of $35. The rest of the Total parts totals will be added up (minus the plates) and be divided from $115 ($150-$35). The total area for the parts (minus plates) would be divided by the Total price ($115) to get the price per square pixel. In graphics4/images/models/kawikx450f-2013-2015 for example, there is a ff and ff2. I want to have the checkbox for "Total" to decide what is calculated for the total bike. In this case, I would have ff be included in the total ($115). We would use the price per pixel to calculate what the total for the ff2 part that won't be included (but the price will be shown). I have attached my code. It works, but it is probably sloppy and I don't mind if you start over or add to what I have. I don't care what language you use. To Recap In addition to what I have, I just need to be able to: 1. Select what parts are Plates (will always be fnp, rnp, and lnp) and calculate their area and price from only those 3 parts. 2. Calculate the parts checked for Total to be the area (minus the Plates area and minus the Plates price) 3. Calculate the price per square pixel of the Total area and calculate the price for the parts that don't have a check on Plates or Total.
Project ID: 8981841

About the project

19 proposals
Remote project
Active 8 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
Awarded to:
User Avatar
Hello there, My name is Akos, I'm a web developer. I'm currently searching for my next project and I just came across yours. On a first read the project description was a bit confusing, so I gave it a second chance and have checked the page you've linked. As it seamed interesting I got a copy of the attached code. The code itself has some trivial errors like it doesn't make sure the variable is defined before using it, which ultimately generates a Notice: Undefined index error. So I just found myself correcting some of the issues on my local server. I realized I would need the content of the graphics4/images/models/ dir in order to be able to work on the code with real data. So long story short, if you could pack things up and send it over for me to be able to work on it on my local server, I'm pretty sure I'll be able to handle the project. For the javascript part I would use jQuery instead of vanilla js, as it will make sure we have browser compatibility and will make the code much shorter and readable too. Please excuse me for the really long proposal, usually I make it much shorter. I'd be able to start immediately. I will be probably asking a lot of questions to help get started and to make sure I got all the requirements properly. Kind regards Akos
$130 USD in 1 day
5.0 (155 reviews)
7.2
7.2
19 freelancers are bidding on average $199 USD for this job
User Avatar
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks
$201 USD in 8 days
4.9 (459 reviews)
8.2
8.2
User Avatar
Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joomla, Os-commerce,vBulletin , Zen cart-Drupal , android and IOS , I can create and deliver the project as per the information.I have skilled, expert programmers I'm very excited to assist you in making your Sites successful – please feel free to contact me directly to discuss this position further. Thanks
$190 USD in 7 days
4.7 (524 reviews)
8.3
8.3
User Avatar
Hey mate, I am from New Zealand. Name's Richard. I cannot really make out your calculations, for example, why is there a need to use SQRT (square root)?? But I am willing to help you - and at least we will be conversing in English which is pretty crucial here. Look forward to chatting with you - it will clear up a lot of questions and allow us to finish this project quickly. Regards.. Richard
$105 USD in 2 days
5.0 (80 reviews)
6.2
6.2
User Avatar
A proposal has not yet been provided
$100 USD in 2 days
5.0 (37 reviews)
5.6
5.6
User Avatar
A proposal has not yet been provided
$144 USD in 3 days
5.0 (20 reviews)
5.2
5.2
User Avatar
A proposal has not yet been provided
$111 USD in 1 day
5.0 (17 reviews)
4.8
4.8
User Avatar
Hello Sir, I have more than 8 year experience in web development ,made many website with delivered quality work I am expert in web development . few things that i have , i am very quick learner ,good listener ,and make understanding with whom i am working. I am sure ,i can help you in web development . Looking forward for long term relationship. Please give me chance to working with you. Hope we will work together. Thanks Ricky
$77 USD in 2 days
4.7 (30 reviews)
5.1
5.1
User Avatar
A proposal has not yet been provided
$222 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
North Salt Lake, United States
4.8
14
Payment method verified
Member since Nov 2, 2010

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.