First of all: great module, I prefer it over imagefield_crop.

Quesstion: would it be possible to use this module with the Media module? (preferably 2.x branch)

Comments

Matthijs’s picture

Assigned: Unassigned » Matthijs

I'm not familiar with the Media module, but I'll look into the possibilities.

jisuo’s picture

This would be perfect.

The media module is really good for several reasons:
- You get a library of all the images on the site.
- You can add custom fields to the images (or other files) using file entity.
- I have made a plugin module for media module that allows me to attach images from our company CDN and they are added to the same gallery as normal images (even thought they are just urls like www.example.com/image.aspx?id=123).
- You can select videos (local and youtube, etc) in the same window

What it is lacking right now is something like Manual crop, where you can do a resize/scale/crop per instance.

Hopefully you'll look into this. :)

bforchhammer’s picture

Yeah, integration with the media 2.x would be cool!

A simple "crop this image" button on the node form for files uploaded/selected by the media module would be a good start. The imagecrop module does that via #after_build handlers on managed_file and media form elements (see imagecrop.module#l283)...

Matthijs’s picture

Thanks for the suggestions, this is my next issue once #1217550: Inline Crop is finally fixed.

Matthijs’s picture

Finally in progress :-)

cinseattle’s picture

Hey Matthijs, great module! Just curious of the progress on Media module integration.

Matthijs’s picture

Hi cinseattle (and others),

I just pushed some changes to the 7.x-1.x branch. It's now possible to crop images on the file edit page, is there anything else you would like?

To make this possible (without copy/past code) I had to do some changes to to the widget, it seems to work fine, but if you should have any issues please let me know. Also be aware, when editing a file the widget specific settings are not loaded, so required crop selections can be removed this way!

Matthijs’s picture

bryancasler’s picture

Request: Show crop area by default without clicking on the image
REF: #1446572: Show crop area by default without clicking on the image

bryancasler’s picture

Join the conversation about consolidating media cropping efforts.

#1491508: A call for consolidating efforts. The path to a media integrated D7 cropping module.

Matthijs’s picture

Status: Active » Fixed

I'm marking this issue as fixed, please set back to active if you have additional Media integration requests.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Wolfgang Reszel’s picture

Is it possible to get the thumbnails instead of the drop down list? It would be nice to have similar options like for the normal widget.

Matthijs’s picture

I'm currently in progress of dropping the custom widget and injecting the form elements in the default image/media/... widgets, see #1621712: Migrate from the custom to the default image widget for more info. It would be great if you open a new issue for this, then I'll look into the possibilities when that other issue has been completed.

Thanks!