I've got an issue where the crop display shows the whole image (albeit squashed to fit 100x100) but when you click save it only shows a 100x100 section from the middle of the original image.
Not using 'enforce crop ratio'.
I think generally this could do with some extra features, e.g. to add white space above/below/right/left to make long or wide images square etc?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | photoCropPreview-off.jpg | 478.8 KB | ron_sparks |
Comments
Comment #1
yhager commentedCan you provide more details on how to recreate this issue? Does it happen with other settings as well?
Comment #2
ron_sparks commentedI am getting this as well the crop works just fine, but the preview seems to be stuck on the right and just moves vertical and grows from there if I make the crop window bigger.
I tried playing with lots of the settings.
attached is a photo that may help, I am guessing this is a CSS issue but idk...
I'll post if I find anything.
Comment #3
gundarx commentedI got a similar issue with the crop area not reflecting the node edit page, but found out it was an oversight in my template.
Instead of something like $node->field_images[$i]['filename'], I used $node->field_images[$i]['filepath']. Usually these 2 are the same, with filepath just containing the complete folder path. However with this module, filename seemed to reference the original file (probably the first one uploaded) and filepath had something like a [x]_3.jpg, probably indicating it was the 3rd uploaded version of a file with the same name (hence the correct variable).
So the fix was to use the 'filepath' variable.
Comment #4
jbfelix commentedWhere did you make this change (filename) ?
Thanks
Comment #5
gundarx commentedIn my case it was in a node template file ex. node.tpl.php; however it can be anywhere you are referencing those variables, like template.php
Comment #6
ttapada commentedSee #1266900: Cropped Image does not match Selected Crop After Saving
It may be the same problem...