Solved

php/javascript : Image upload, resize and save

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fulfillment API php code sample 1 41
google analytics on wp-admin password protected area 2 24
Decrypt string by php 7 31
PHP Query return divisible by 3 3 17
jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

810 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