[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

php/javascript : Image upload, resize and save

Posted on 2011-03-08
4
Medium Priority
?
606 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 111

Accepted Solution

by:
Ray Paseur earned 2000 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 111

Expert Comment

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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month19 days, 14 hours left to enroll

872 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