Solved

PHP Upload and Image Processing

Posted on 2014-04-09
4
541 Views
Last Modified: 2014-04-15
What library do you prefer for image upload and processing/resize?  GD? ImageMagick? in the browser via a Javascript library? something else?
0
Comment
Question by:Scott Fell,  EE MVE
  • 2
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Julian Hansen earned 500 total points
Comment Utility
Currently looking hard at JQuery Upload (blueimp.github.io/jQuery-File-Upload/¿) for doing the actual uploading.

Processing IM is pretty much what I use when I can't convince the client that recreating Photoshop in a web interface is not a great idea and rather to do image editing local before upload.
Not much between IM and GD performance / functionality wise - but I prefer the IM coding - less cluttered.

If I do have to do it then I use a JQuery crop tool to collect cropping data in browser and AJAX it back to server for processing.
0
 
LVL 52

Author Comment

by:Scott Fell, EE MVE
Comment Utility
I have been using IM in classic asp for years and converting to php.   Just came across this http://camanjs.com and I am sure there are others.   I have seen blueimp but have not tried it.  

I like the demo http://camanjs.com/examples/, then just add the ability to crop and size and bring the quality down a bit for file size.  Then just use serverside for the upload.  

I am having an issue with IM on Windows2012 at the moment.
0
 
LVL 51

Expert Comment

by:Julian Hansen
Comment Utility
From what I have read - using GD is not really much of a step back. Might be worth testing it and if it works on Win2012 then go with that.

If I could have back all the hours Microsoft has taken from me with its nonesense I could take a couple years vacation.
0
 
LVL 52

Author Comment

by:Scott Fell, EE MVE
Comment Utility
The good news with MS this week is no worries about the heartbleed bug http://heartbleed.com/.  So there is that...
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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