Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is a patch to get this module working in the new media-7.x-2.x branches.
Comment | File | Size | Author |
---|---|---|---|
#6 | media_crop-1896860-6.patch | 4.7 KB | Jody Lynn |
#4 | media_crop-7-x.1.x_media-2.x-3.patch | 4.1 KB | AndrewsizZ |
#3 | media_crop-7-x.1.x_media-2.x-2.patch | 4.43 KB | jrreid |
#1 | media_crop-7-x.1.x_media-2.x.patch | 4.17 KB | sherakama |
media_crop-7.x-1.x_media_2.x_compatibility.patch | 3.24 KB | sherakama |
Comments
Comment #1
sherakama CreditAttribution: sherakama commentedSlightly better one. Has tag output fixes in it as well.
Comment #2
jrreid CreditAttribution: jrreid commentedSeems to work perfectly for me.
Comment #3
jrreid CreditAttribution: jrreid commentedActually a few minor fixes, typo and issue with where the alt/title/height/width values are being copied from. Heres a re-roll
Comment #4
AndrewsizZ CreditAttribution: AndrewsizZ commentedHi guys,
For me your patches don't work properly with media 2.x version(tested on different git tags).
So, I created new patch, for me now all work fine. tested on drupal 7.26, media 7.x-2.0-alpha3, Wysiwyg 7.x-2.2
Comment #5
Jody LynnThe patch in #3 works for me with some notices. The patch in #4 did not work. (It gave me first an image that was of a throbber, and then it gave me the original image when I went back to edit).
I'm on Media 7.x-2.0-alpha2+8-dev with ckeditor module and doing this in a wysiwyg.
Comment #6
Jody LynnThis is an update from the patch in comment 3 but fixes some notices.
Comment #7
timbrandin CreditAttribution: timbrandin commentedI've solved these issues in the patch I'm working on in https://drupal.org/node/2130785
Could anyone answer on that issue if this is of interest for me to upload.
// T
Comment #8
rodpal CreditAttribution: rodpal commentedHi,
Just tried patch N°3 and N°6 and it is not working. It doesn't load the crop interfase during the upload process or adds the right click action on CKeditor.
This is what I'm using:
Drupal 7.24
Media 7.x-2.0-alpha3+34-dev
File entity 7.x-2.0-alpha3+13-dev
Media Crop 7.x-1.4
CKEditor 4.3.3.7841b02
Comment #9
thamasTested patches in #4 and #6 but none of them worked.
I have a site where content was created using Media 7.x-2.0-unstable3+47-dev and Media crop 1.4. So I'd like to have this "old" images displayed too.
Patch in #4 generates a static quarter throbber image in case of new and old images too.
Patch in #6 does not display old images, new ones are displayed in full size, image style settings not appied after saving content. Re-editing content shows that no image style selected. I have this problem with the other patch too. And the image is displayed in the editor as a small thumb…
Tested with
Media 7.x-2.0-alpha3
Media Crop 7.x-1.x-dev
WYSIWYG 7.x-2.2
CKEditor lib 4.0.3
Comment #10
Mschudders CreditAttribution: Mschudders as a volunteer commentedWhat's the status on this one ?
Is there someone who has this working with the latest Media ?
Comment #11
Anonymous (not verified) CreditAttribution: Anonymous commentedUpdate??