Update: Issue persists with Media 7.x-2.0-beta2
We have a Drupal multisite setup running Manual Crop 7.x-1.5 and are in the process of upgrading its version of Media to 7.x-2.0-beta1. We use these and the File Entity module and media browser widget to allow our users to upload and display images attached to nodes. This version of Media is a huge overhaul and has introduced some bugs and general weirdness across the board.
We're using the Media Browser to let users attach images to certain node fields. The list of cropping option is appearing in two places, once on the node edit and again on the media modal window. As a result, when a photo is cropped in either location, the label doubles up in both places. We are using the "List thumbnails" option primarily but you can also reproduce this with the drop down crop selection.
Before the Media upgrade the cropping options only appeared in the modal popup and not on the node edit form, which made this issue avoidable. Now it appears in both spots and there are no options to change the setting. Our original solution was to use CSS to hide the display of the cropping options on the node edit form, but this still causes the duplicate label issue.
| Comment | File | Size | Author |
|---|---|---|---|
| manualcrop-issue2.JPG | 87.82 KB | lcaple | |
| manualcropissue1.JPG | 55.47 KB | lcaple |
Comments
Comment #2
heatherwoz commentedComment #3
heatherwoz commentedWe are working on a patch for this issue (I work with OP) and I am wondering what the recommendation is - do we update the module to work with the latest release of Media, or do we add conditions to check what version of media is installed to maintain backward compatibility? Since the latest release of Media causes the crop widget to appear in two places, we are thinking to add a setting on field config so that you can choose where you want it to appear - in edit form or media modal window - and avoid the double rendering and duplicate label bug.
Comment #4
heatherwoz commentedComment #5
ParisLiakos commentedi form altered the file edit form and removed the crop button from there. Not many problems so far
Comment #6
Chris Charlton+1