Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 715811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:13:44+00:00 2026-05-14T05:13:44+00:00

I ask this because I am currently trying to work out my own technique,

  • 0

I ask this because I am currently trying to work out my own technique, and there are huge strategic hangups for the entire site when your begin this. Of them are:

  1. Using jCrop and rMagick, it takes up a huge amount of processing ( to which I have backgrounded ).

  2. Because I have it backgrounded, I must by ajax develop a feature that auto-updates every five seconds to check when the backgrounding is done.

Has anyone accomplished this with their sites? If so, what are some creative techniques you came across to keep the processing streamline, and the users happy?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:13:44+00:00Added an answer on May 14, 2026 at 5:13 am

    I don’t know how facebook does it, but I would use jquery-ui’s resizeable() and draggable() methods. You could have the image set into a div the exact width of the image, and have a second draggable/resizeable div positioned on top of the image (using a higher z-index). That way, you have a semi-transparent crop area that the user can move around and adjust. You can set both methods to be constrained to the parent div, so they can’t drag or resize beyond the image.

    When they are ready to crop, the coordinates of each corner can be sent via ajax to the server. The server can then run whatever image cropper you have (in php I would use gmagic -> cropimage()) and the task is done.

    The tricky part is deciding how to show the user the finished product. I would definitly consider having the new cropped image stored in a tmp folder, in case they change their mind. But if you do that, you could have the ajax update the src of the image element so they can see what they’ve done. If they like it, they hit “save changes” and this sends another request via ajax to replace the original with the one in the tmp folder.

    Antoher, kinda sleazy, option is to just use pxlr. They have a developer API that allows for calling their site’s tools via javascript. You can customize the features the user sees and have it save to the “reffer” meaning back to your server. Not sure how to set up security for that, but I’m sure the site goes into it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I ask this because at work I am supposed to develop a web-application that
I ask this, because tomorrow is my first meeting with the client, in which
There may be more than one way to ask this question, so here's a
I ask this question in anticipation as part of a project. I have experience
I ask this question in the hope of collecting all the incompatible changes/bugfixes in
I have ask this kind of question before, but it seems my previous question
I'm not exactly sure how to ask this question really, and I'm no where
The issue that prompted me to ask this is a web form that was
I've had several clients ask this, and I've never been able to get or
Had a coworker ask me this, and in my brain befuddled state I didn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.