I have made integration between media module and the manual crop module . In order to achieve this I had to add a new effect to the media_thumbnail. This effect doesn't have a width and height data and it is placed as a first effect. This se of configuration produce the following notices:

Notice: Undefined index: width in media_field_formatter_view() (line 70 of /home/boyan/projects/kkdam/sites/all/modules/contrib/media/includes/media.fields.inc).
Notice: Undefined index: height in media_field_formatter_view() (line 71 of /home/boyan/projects/kkdam/sites/all/modules/contrib/media/includes/media.fields.inc).

Comments

boyan.borisov’s picture

I have prepared the following patch that resolves my problem.

gmclelland’s picture

Status: Active » Needs review
devin carlson’s picture

Issue summary: View changes
Status: Needs review » Fixed

The code affected by the patch in #1 has since been removed.

Please reopen this issue it you're still experiencing this problem.

Status: Fixed » Closed (fixed)

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