Hi guys! First, thanks for the module, very nice work! Im having problem on a multifile image field. On my post, I need to use the same image, showing different crops for more detailed visualization. The problem is that it doesnt work. ManualCrop just set one crop for the same file. To make this work, I need to upload the same file again and so sets the new crop. Any suggestions? Thanks a lot!

Updated:
New screenshot added

Comments

tessa bakker’s picture

dougn7’s picture

Hi Tessa, thanks for reply. I had applied this patch. This works well with that duplication issue, but its not exacly what i want. I need that the multifile image suports different crops with the same image, with no need to upload it again. I tested after apply the patch, and it didnt work. Im using Media 7.x-2.0-alpha4 and Field 7.38.

tessa bakker’s picture

Hi dougn7,

Can you add one or more screenshots with the problem?

Thanks!

dougn7’s picture

Issue summary: View changes
StatusFileSize
new230.76 KB

Tessa, I upload a screenshot, take a look....

dougn7’s picture

Hi Tessa, any luck with this task?

tessa bakker’s picture

Hi dougn7,

If you crop the same image with the same image style, every preview will be changed with that same image style.
This is because the unique crop key is a combination of image style + fid and not image style + fid + field instance + field item.

To fix this isn't that hard, but not related to this issue.