Solved

php/javascript : Image upload, resize and save

Posted on 2011-03-08
4
562 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:Bruce Smith
ID: 35076950
0
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 35077862
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
ID: 35235814
Thanks Ray
0
 
LVL 108

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
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…

896 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

11 Experts available now in Live!

Get 1:1 Help Now