After upgrading to 7.12 we changed a presets javascript crop dimensions, after that the Hell started

We had big problems uploading files , that solved by inserting data_field_image_width, _height fields manually in each image-fields' table !
And we Rolled Back the Presets dimensions.But now all files are stuck with the changed dimensions , not the old ones and all files seem poorly cropped
i tried to make anew preset --assinged it to Content type - boom white screen

What tables are updated each time a preset changes? Any clue how to "re-index" these tables to repair the problem?
Painless recreation of the files?
What should i look for in the database?

Thank u

Comments

nils.destoop’s picture

The only table that imagecrop is using, is 'image_crop_settings'. So the data_field_image_width, _height fields are not from imagecrop.

xxronis’s picture

ok my issues were more about uploading rather than the cropper, but since you answered let me ask u just that.

As i said before i 've lost in a lot of files their cropped coordinates .The only way to restore the previous state is to retrieve the old 'image_crop_settings' table i suppose?

nils.destoop’s picture

Status: Active » Closed (works as designed)

Looks like you didn't run update.php:

Update hooks from image module:

image module

7002 - Add width and height columns to image field schema and populate.
7003 - Remove the variables that set alt and title length since they were not used for database column size and could cause PDO exceptions.
7004 - Use a large setting (512 and 1024 characters) for the length of the image alt and title fields.

xxronis’s picture

Thanks zuuper , i did run update.php offcourse but the db changes were not just deployed correctly ... i solved manually the 7002 but i guess i 'll have to deploy them correctly

But the serious matter is to bring back the old right-cropped files -- please read the whole post

thank u

xxronis’s picture

Status: Closed (works as designed) » Needs review
xxronis’s picture

In other words

i retrieved my old 'image_crop_settings' table and restored the data,
the old files remain the same with false cropping,as there is some hundeds of these images it is impossible to re-crop these images
what else should i do to recreate the files with the old settings?their crop settings are stored in the database

nils.destoop’s picture

Did you flush the image style folders? As long as the image exist in the image style folder, it won't be regenerated by image module.

nils.destoop’s picture

Status: Needs review » Closed (works as designed)