Hi!

I just want to add some problem which was cause few days ago..
We are using you IMCE Crop option few months and until this Monday we didn't have any problems.

From Monday when we star croping you can select region what you want to crop but unfortunately when you crop region of croping are not same. Its crop with wrong position.

Before_Crop
Only local images are allowed.

After_Crop
Only local images are allowed.

I try with both version of IMCE crop with Drupal 7.8 even with lates Drupal 7.dev from October,10 but problem stil exist.
I check even with the replicated site on difference explorers but problem still exist.

I realy don't know now is it problem with Drupal, database or with this module.
We really need this option back and I will be glad if I can receive solutions as soon as possible.

Regards
Alx

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ufku’s picture

Priority: Critical » Normal
Status: Active » Closed (cannot reproduce)

Unable to reproduce it.
Please try to identify the problem by trying it with a fresh install and different size of images.

mfernea’s picture

Issue summary: View changes

It seems that this only happens for larger images. Those below 800x800 (either png or jpeg) are cropped just fine. I can reproduce the problem with larger images (eg 2000x1600px).

mfernea’s picture

FileSize
49.09 KB
11.8 KB
124.84 KB

I attached the example files.

mfernea’s picture

Status: Closed (cannot reproduce) » Needs work
mfernea’s picture

Status: Needs work » Closed (works as designed)

Hmm, in our case the problem is caused by css. The popup it's not an admin page and it loads the front-end theme. Our theme, being responsive, has max-width: 100% for images. This is applied to the image being cropped. So the coordinates are not correct.

Something like this fixes the problem:

#imce-content #file-preview img {
  max-width: none;
}