Imagemagick Failing With Jcrop.

images php coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 5
Joined: Mon Jun 18, 2012 7:57 am

Imagemagick Failing With Jcrop.

Postby HopelessCode » Mon Jun 18, 2012 8:26 am

I'm not sure if it my code or jcrop itself making this fail. Below is the code for the post method.

Code: Select all

    $convertString = "convert $source -crop ".$_POST['w'].""."x"."".$_POST['x']."+".$_POST['h']."+".$_POST['w']." $file";

below is the actual form (html)

Code: Select all

    <form action="cropper.php" method="post" onsubmit="return checkCoords();">
   <input type="hidden" id="x" name="x" />
   <input type="hidden" id="y" name="y" />
   <input type="hidden" id="w" name="w" />
   <input type="hidden" id="h" name="h" />
<input type="submit" value="Crop" />

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 2 guests