Cropping images
Results 1 to 7 of 7

Thread: Cropping images

  1. #1
    Senior Member
    Join Date
    Mar 2002
    Posts
    338

    Cropping images

    Hi
    I've started out a litle tool that lets you visually pick out any portion of an image. And make a thumbnail of it.

    Check it out here and tell me what you think:

    http://www.mr-andersen.no/imagecropp...e_cropping.php

    Tested on Win32/IE 6, MAC OS/IE 5.2 only.

    regards Thomas A.

  2. #2
    Parse error line -1 Bunkermaster's Avatar
    Join Date
    Sep 2002
    Location
    France
    Posts
    1,769

    "Our ASP will blot out the sun!"
    "Then we will PHP in the shade"

  3. #3
    NULL Mordecai's Avatar
    Join Date
    Mar 2003
    Location
    Springfield, MO, USA
    Posts
    2,020
    Works well in IE. Only bug I really noticed was that if you moved faster than it can load, it will stop (when changing size, at least).
    Doesn't work at all in Opera.

    Good idea, though.

    Edit:
    Originally posted by Bunkermaster
    U and mordecai should meet
    - lol...
    Congrats on 999 posts, by the way.
    - cai
    caiPHP

  4. #4
    local deity
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    366
    hmm... you should make the crop resize thing start from where the top left corner of what you are cropping is, not the top left corner of the image...

    very nice though....
    - roy

    be alert. the world needs more lerts
    -Adam

  5. #5
    local deity
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    366
    and the cropped area can estend past the bottom right of the screen....
    - roy

    be alert. the world needs more lerts
    -Adam

  6. #6
    NULL Mordecai's Avatar
    Join Date
    Mar 2003
    Location
    Springfield, MO, USA
    Posts
    2,020
    http://12.218.96.144/imagecropping/imagecropping.zip
    This is an updated version, it contains image_cropping2.php, a GD script that will do the cropping based on the script's output.
    image_cropping.php only needed slight editing. All that was changed/added was the position of the PHP definition at the top (for $img), the action and method of the form, and the submit button.
    - cai
    caiPHP

  7. #7
    Senior Member
    Join Date
    Mar 2002
    Posts
    338

    thanks

    Thank you very much for the suggestions.

    best regards Thomas A

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •