1

I am working on Drupal 7 and the requirement is I need to crop the image before it gets stored or uploaded to the location. I tried with Imagefield Crop , Manual Crop , Smart Crop and Image javascript crop modules. What it does it, at first we need to upload the image and the image will be stored in the location/physical location then only the crop button will be enabled and we can manipulate the image. I dont want to upload the original image instead i want to upload only the cropped image. Is it possible to do like this? Have any one tried something like this?

  • You can take a look on drupal.org/project/original_image_style – DRUPWAY Mar 16 '16 at 7:53
  • Smalution's suggestion seems good, but if you really can't have the image uploaded to the server at all for some reason, and it MUST be cropped before upload, you'll need to do that client-side in Javascript. I don't know of a drupal solution for this, but here is a more general solution that might help: stackoverflow.com/questions/12728188/… – UltraBob Mar 16 '16 at 8:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.