After upgrading to the latest dev versions of resp_img and breakpoints, I receive the following error on pages using responsive images:

Notice: Undefined variable: group_name in resp_img_field_attach_view_alter() (line 261 of /sites/all/modules/contributed/resp_img/resp_img.module).

The picture element isn't output at all, just a really large img element. This happens whether I have inserted the image via the Media module or whether I am using an image field.

None of the responsive image styles are showing up on any of the file types tabs for the Media module, which is likely part of the problem. However, I am able to select a responsive image style for the display of an image field, and this still happens.

Comments

attiks’s picture

Assigned: Unassigned » jelle_s
jelle_s’s picture

Status: Active » Fixed

Should be fixed in latest dev version.

rainbowarray’s picture

The upside is that I am not receiving that error anymore.

The downside is that the latest dev version erased all of my responsive image style sets. I'll work on rebuilding these and see if that helps.

rainbowarray’s picture

Moron award: I uploaded the 7.1 dev version on the module home page. Can we change that to the 7.2 dev version?

attiks’s picture

#4 what did you upload?

rainbowarray’s picture

Okay, I have the correct 2.x dev version uploaded now, and huzzah! Everything appears to be working correctly!

Status: Fixed » Closed (fixed)

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

atiba’s picture

Version: 7.x-2.x-dev » 7.x-2.0-beta3
Status: Closed (fixed) » Active

I still have the same problem in beta3.
Installed dev version 2 and updated the Breakpoint module to the dev version without any luck.

In another topic about this bug Jelle_S stated something like to check a 'Image' checkbox at:
admin/config/media/file-types/manage/image/file-display

But that URL doesn't even exist on my Drupal installation.

Yes, I did an update.php and cleared the cache and run cron a couple of times.
What could be wrong?

attiks’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Old issue, I think you better update to the picture module