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

CommentFileSizeAuthor
#2 photoCropPreview-off.jpg478.8 KBron_sparks

Comments

yhager’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide more details on how to recreate this issue? Does it happen with other settings as well?

ron_sparks’s picture

StatusFileSize
new478.8 KB

I 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.

gundarx’s picture

I 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.

jbfelix’s picture

Where did you make this change (filename) ?

Thanks

gundarx’s picture

In 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

ttapada’s picture

Status: Postponed (maintainer needs more info) » Active