Auto crop pictures

Hi!

Have a dating site, that display profile pictures.

All my profile pictures have the same witdth, but different hight

Need a script that can display the picture, that have the right width of picture.
And then show a BOX-FRAME, that user can move up or down on the picture.
When user have made the wanted selected area, he/she can store the picture.
The picture wil then be crop't.
Result:

All pictures saved have the same size. (Hight and width)

Is there some script that do this ?

LVL 2
team2005Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gurvinder Pal SinghCommented:
0
team2005Author Commented:
Hi!

I gusess i can use -> http://code.google.com/p/jcrop/

But maby need some help to implement on my site..

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gurvinder Pal SinghCommented:
It has a demo page
http://deepliquid.com/projects/Jcrop/demos.php

and doc manual page
http://deepliquid.com/content/Jcrop_Manual.html

let me know if some specific help in required.
I need to do some hands on it, and then help
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

team2005Author Commented:
Hi!

I come back tou you, thanks :)
0
team2005Author Commented:
Hi!

What i want is:

1. User upload a new picture, that can be hight = 544   Width = 1024
2. The picture is stored on the server.
3. JCrop function is showing the picture, -> Width=100   Hight = xx
4. JCrop Cropbox must be preset to W:100   H:118, and user cant rezize Cropbox
5. User can move the Cropbox on screen, and when he has selected the wanted area
    he hit the save button. That make the thumbnail picture with -> Width = 100   Hight=118

Include source for JCrop


<html>
	<head>

		<script src="../js/jquery.min.js"></script>
		<script src="../js/jquery.Jcrop.js"></script>
		<link rel="stylesheet" href="../css/jquery.Jcrop.css" type="text/css" />
		<link rel="stylesheet" href="demo_files/demos.css" type="text/css" />

		<script language="Javascript">

		jQuery(function(){
			jQuery('#cropbox').Jcrop();
		});

		</script>

	</head>

	<body>
		<div id="outer">
		<div class="jcExample">
		<div class="article">

			<h1>Jcrop - Hello World</h1>
			<img src="demo_files/flowers.jpg" id="cropbox" />

			<p>
				<b>This example is provided as a demo of the default behavior of Jcrop.</b>
				Since no event handlers have been attached it only performs
				the cropping behavior.
			</p>

			<div id="dl_links">
				<a href="http://deepliquid.com/content/Jcrop.html">Jcrop Home</a> |
				<a href="http://deepliquid.com/content/Jcrop_Manual.html">Manual (Docs)</a>
			</div>

		</div>
		</div>
		</div>
	</body>
</html>

Open in new window

0
team2005Author Commented:
Hi!

No one knows how I can get this made¿¿?
0
team2005Author Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.