Solved

php/javascript : Image upload, resize and save

Posted on 2011-03-08
4
559 Views
Last Modified: 2012-05-11
Dear Experts!!

I have looked and looked for a solution/script that fits the bill... but to no avail.

I need a script that can upload an image and view it at a certain size...

then be able to crop it using exact dimensions, whether by lasso and move the larger image around a window...

then save the image with a certain filename to a certain folder

Can anyone PLEASE help!

Huge thanks in advance
0
Comment
Question by:maccaj51
  • 2
4 Comments
 
LVL 11

Expert Comment

by:patsmitty
Comment Utility
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
You will find jQuery plug-ins that do most of this, but you are looking at a lot of moving parts.  You might want to break your question up into these component parts so you can get an understanding of each of them.  Then you will be able to integrate the parts into a web application and you will understand what it is doing at each step!

1. Upload image
2. Store image on server
3. Take stored image and generate resized copy
4. Crop image
5. Save new (partial, cropped) image
6. Display the old and new images
0
 

Author Closing Comment

by:maccaj51
Comment Utility
Thanks Ray
0
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
Thanks for the points -- it's a great question (complicated, but great)!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now