Solved

php/javascript : Image upload, resize and save

Posted on 2011-03-08
4
572 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 109

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 109

Expert Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

840 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