www.webdeveloper.com
Results 1 to 3 of 3

Thread: crop image on the fly?

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Posts
    8

    crop image on the fly?

    I'm doing a blog post form in php, and one of the fields is an image upload to use as a thumbnail. the image will also be uploaded on it's original size to be displayed on the post.

    I'm gonna use something like this to crop: http://www.webmotionuk.co.uk/jquery/...pload_crop.php

    problem is I want everything to be sent when the user press "submit", so I needed that crop thing to open on a new window whenever the user selects an image on the input.

    how could I do so?

    thanks in advance!

  2. #2
    Join Date
    Feb 2011
    Posts
    231
    Hi,
    You can add an "onchange" in that input tag, to open the page you want when the user selects an image.
    Something like this:
    Code:
    <input type="file" name="a_name" onchange="window.open('page_url')" />

  3. #3
    Join Date
    Apr 2013
    Posts
    26
    I do this almost daily. I use an imaging sdk found on the internet which can crop images found on the internet . Install it and it becomes a selectable processing option.Then you can crop images in any program at all, including Adobe Acrobat . Just open the images, select crop ,and follow the setps given in the sdk, the task will be finished in several seconds. if you haven't found a good choice , you can have a try. best wishes.

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
  •  
HTML5 Development Center



Recent Articles