Find Jobs
Hire Freelancers

Fix my javascript - Image uploader

$10-30 USD

Closed
Posted 10 months ago

$10-30 USD

Paid on delivery
If I rearrange the images, it still uploads in the order initially chosen. For examples, [login to view URL] and [login to view URL] will upload as the first image [login to view URL] and the second image as 2.jpg. If I rearrange so that [login to view URL] is first, it still uploads [login to view URL] first. Also if I remove an image, it still uploads the image. Here is the javascript. <script> var files = []; // Global array to store the selected files in the order they were added function previewImages() { var previewDiv = $("#preview-images"); [login to view URL](); var selectedFiles = [login to view URL]($("#images")[0].files); // Convert to a regular array [login to view URL](...selectedFiles); // Store selected files in the global array for (let i = 0; i < [login to view URL]; i++) { var file = files[i]; var reader = new FileReader(); [login to view URL] = (function (file) { return function (e) { var img = $("<img>") .attr("src", [login to view URL]) .attr("alt", "Preview Image") .addClass("img-fluid mb-2 draggable-image"); var removeBtn = $("<span>") .addClass("remove") .text("\u00D7") // Unicode for the "times" symbol .click(function () { // Get the corresponding file to be removed var fileToRemove = file; // Remove the image when the remove button is clicked $(this).closest(".image-container").remove(); // Remove the file from the files array files = [login to view URL](function (f) { return f !== fileToRemove; }); }); var imageContainer = $("<div>").addClass("image-container"); [login to view URL](img).append(removeBtn); [login to view URL](imageContainer); }; })(file); [login to view URL](file); } } // Call the previewImages function when files are selected $("#images").on("change", previewImages); // Enable Drag and Drop functionality using jQuery UI $("#preview-images").sortable({ revert: true, }); $("#preview-images").disableSelection(); </script>
Project ID: 36986763

About the project

37 proposals
Remote project
Active 8 mos 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
37 freelancers are bidding on average $28 USD for this job
User Avatar
Hi, Hope you are well, We have best team in our company, We can give you good work on time Regards
$50 USD in 1 day
5.0 (359 reviews)
8.3
8.3
User Avatar
Hi, I will fix image uploader in javescript. I will fix it right now.
$20 USD in 1 day
5.0 (789 reviews)
7.3
7.3
User Avatar
Hey. I am an experienced Web Developer and have worked with wide variety of skills like PHP, MySQl, jQuery / Prototype, Javascript, HTML, CSS and more for many years. Can start right now.
$30 USD in 2 days
5.0 (143 reviews)
5.9
5.9
User Avatar
Hello, I have strong knowledge of JavaScript and am ready to do this work and can fix the javascript image uploading problem if rearranged the image order but it still uploads in the order initially chosen. I can fix this problem within 1-2 hours. I am waiting for your response. Thanks, Ankit
$30 USD in 1 day
4.9 (100 reviews)
5.9
5.9
User Avatar
Hi there, I've been working with JS / jQuery for over 10 years and have built numerous file uploaders using different libraries and from scratch. Looking at your code (and the jQuery UI sortable function you're using) its updating the display but not the underlying array. I think there are also a couple of issues preventing the remove function from working correctly. Happy to take a look at this for you, let me know if you need more info and thanks for reading!
$25 USD in 2 days
5.0 (28 reviews)
5.7
5.7
User Avatar
Hello! I understand the issue with image uploading and ordering. I can help you fix the JavaScript code to ensure that the images upload in the rearranged order, and removing an image will prevent it from uploading. Let's work together to resolve this problem and enhance the functionality. By modifying the code, we can make the image uploading process seamless and efficient. I'll ensure that the selected files are stored correctly in the global array, maintaining the order you rearrange them. Feel free to share more details, and we can get started on the improvements. Looking forward to helping you! Regards, FS
$100 USD in 2 days
5.0 (13 reviews)
4.9
4.9
User Avatar
Hello! How are you? I have read your project's requirements which are Fix my javascript - Image uploader. I Will give you 100% Quality work, feel free to contact me. I Can start to work on this project right Now. I have 10 years of experience in freelancing and various programming languages, including HTML, CSS, PHP, Laravel, Bootstrap, JavaScript, e-commerce, SQL, WordPress, Python, and more. If you're interested, let's chat and discuss the project details. Best regards; Atif. H
$10 USD in 1 day
4.9 (45 reviews)
4.9
4.9
User Avatar
Hello, Hope you are doing well. As a highly skilled JavaScript developer, I can help to fix rearrange/delete issues. I can start ASAP.
$20 USD in 1 day
4.7 (6 reviews)
4.3
4.3
User Avatar
Hello. I read your required code i will do that. Please come on chat we will discuss more about this. I will waiting your reply
$20 USD in 1 day
5.0 (7 reviews)
3.4
3.4
User Avatar
Hello dear , When viewing your job details, It hooked me because I've so much experience in this area. I have read the details so,I am very happy to let you know that I am interested and able to complete your project. Kindly Message me to discuss more(the price can be discussed). I am waiting for your reply. Best regards, Hemdan
$20 USD in 7 days
5.0 (12 reviews)
3.5
3.5
User Avatar
Hey, I'm a MERN Stack expert, I can fix your JavaScript Image uploader. Lets connect to work together. Talk Soon Hammad K.
$20 USD in 1 day
2.5 (4 reviews)
4.9
4.9
User Avatar
Hi I have checked your code and I need html code. Please contact me and let's discuss about project. thanks.
$15 USD in 7 days
5.0 (1 review)
2.0
2.0
User Avatar
Hello there! My name is saif and I'm part of the Design Zone team at Design Zone. We specialize in creating eye-catching and effective designs that not only stand out in a feed but are proven to drive results. We understand that you're looking for someone to help with your javascript image uploader problem and we believe we are the best fit for this project. With over 10 years of experience in the field of graphic design and development, our team is confident that we can provide the best solution for your needs. Our expertise ranges from HTML, JavaScript, PHP to provide you with the best solution for your needs. We would be delighted if you could consider us for this project and please feel free to reach out if you have any questions or would like more information about us or our services. Thank you for considering us!
$20 USD in 4 days
3.8 (2 reviews)
2.4
2.4
User Avatar
Hello there! This is Shaziya, I understand your project brief and would love to help you execute your project. I have done several projects under my belt that I've done outside of Freelancer. With this experience, I have learned a lot about how to create successful projects. This knowledge has helped me develop strategies for success that I've tested on other projects and seen results. I have team of experts in Creating Professional Websites, Mobile Applications also Search Engine Optimization, Social Media Management . Check out my portfolio: https://www.freelancer.com/u/shaziyadamani42 Feel free to reach out me. Sincerely, Shaziya Damani
$20 USD in 7 days
4.2 (1 review)
1.8
1.8
User Avatar
Hello there, We are pretty certain about delivering this project within the time frame and meeting your expectations. We can assure you the best service in the market. We are a young company of freelancers however, hold almost a decade of experience in the industry. Looking forward to working with you. Many thanks and best regards, Team SEO Out of The Box
$10 USD in 1 day
5.0 (1 review)
0.6
0.6
User Avatar
⭐⭐⭐⭐ Hi, I checked your script and noticed the cause. I can fix your js source after soon, so please let me know if you are interested in getting my help. Best Regards
$20 USD in 1 day
5.0 (2 reviews)
0.6
0.6
User Avatar
Hi there! My name is Hamza and I'm a skilled developer with over 10 years of experience in the field. I understand you're looking for someone to help you fix your javascript image uploader and I believe I am the perfect fit for the job. With expertise in both web development and mobile app development, I have the knowledge and skills required to complete this project on time, on budget, and with high quality results. Specifically, I have extensive experience using CSS, HTML, JavaScript, PHP which makes me an ideal candidate for this project due to my proficiency in these areas. Additionally, I have developed numerous applications for web and mobile platforms which gives me firsthand knowledge of the challenges involved in image uploads (such as rearranging images so they upload in the order originally chosen).
$18 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
As a company starting with introductory low prices, we are committed to providing high-quality software development and data entry services for businesses. Our team, proficient in data extraction and related tasks, ensures timely delivery while maintaining top-notch quality. We understand the significance of efficient solutions and offer budget-friendly rates, making us the ideal choice for this project. With our expertise and dedication to excellence, we believe that our combination of cost-effectiveness and commitment to quality sets us apart and makes us the best fit to fulfil your project requirements effectively.
$10 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I have been working as a Javascript developer for 7+ years now. I've checked your project description carefully and I am sure that I can fix your issue correctly. I'd like to have a brief chat, call to discuss further details about your project soon. Looking forward to working with you together on this project. Thanks!
$50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi. I understand that you are looking for someone to help you with your project and I believe I am the perfect fit for this job. I have extensive experience in software engineering, web development, app development and reservation which makes me ideally suited to resolve your algorithm. My skills include Javascrirpt, Java, Php which makes it easier for me to understand and fix your project. I am a highly skilled Javascript developer with vast experience in software development and app development. I have developed web programs with MERN stack, node.js, python Django, Vue.js and Laravel which makes it easier for me to work on your project especially with respect to web development and app development. I understand that you are looking for someone who can understand and fix your project for your purposes so please feel free to contact me if there is anything else you would like to know about me or my skillset.
$15 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Spokane Valley, United States
5.0
15
Payment method verified
Member since Dec 19, 2006

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.